Items tagged with function function Tagged Items Feed

Hey there,

i have an System in the form below.

I try to plot s over the angle t which is used in the functions (S,DS and DDS) but because maple uses t in the functions (s, v and a) as the time the calculated eigenfrequency doesnt fit to the System.

The eigenfrequency should be omega:=sqrt(c[0]/m[1])=1035 (over 360 degrees) but because of the angle time switch the eigefrequency is 1035 (over 1).

Has someone an idea how i can tell maple that t is an angle in degree? ...

Dear All:

 I have a curve about mosfet  Coss Vs. Vds . the detail math relationship can be found in the following picture: 


 Can anyone fitting this picture by simple math function.

 PS: pls don't considering piecewise function 

I used to work with Matlab and recently I've started to use Maple. In Matlab you can make a function with several commands that does some calculations and calculates one parameter and you can call that function in another function. I need to the same in Maple (i.e. define a function with several commands that calculates a parameter and use the result of that function in another function). Any suggestion?

Hi! I have 4 function. I wanna plot two of them in x=-0.5..0 range; the other two in x=0..0.5 range. How can I display that four function in one plot? Thanks!


E := proc (phi) options operator, arrow; int(1/(1-(1-1/kappa^2)*sin(phi)^2)^(1/2), phi = 0 .. phi) end proc



Is there a way to get this function to work properly without having to simplify the integral manually ?

kappa is a constant (with a value of 12.4)


Thanks in advance!


I'm trying to creat u which is a function of ξ. but I do not have the full definition of u yet. how can i write it in a way where when i differentiate it, it'll give me something like u(ξ),ξ? And that i can differentiate it once more with ξ and it gives me u(ξ),ξξ and so on?

please advice. Thanks.


f:=proc(a) x->modp(a*x,256); end proc:

Determine for which values of a in Z[256] the functions f(a) are onto.

I know that I need to use evalb to check if the image and coDomain are the same. I just cannot get it to work.

Given Maple expressions f(g,x) and g(x) how would you replace g in f  to show a function in x.

Hi. I have a question that concerns indices of vector of functions within for-loop.

I have a following piece of code:

I'm trying to visualize a 3-Dimensional function, the color being the 4th dimension. All the examples that I have found of the so called plot3d function only involve 2D functions, the third dimension really being the return value of the function. I need more: I have a 3D function which takes in (x,y,z) if you like, and outputs one number. I'd like to visualize this function in maple. 



Hi all, I found that the expression:


automatically simplifies to


Is there a function that will return


which is one fraction, instead?

still have problems,
f := proc (x) options operator, arrow; piecewise(0 <= x and x < 4, 50, 4 <= x and x < 5, 0, 5 <= x, f(x-5)) end proc;

plot(proc (t) options operator, arrow; evalf(Int(f, 0 .. t, epsilon = 0.1e-3, digits = 15)) end proc, 0 .. 20);

in the above figure,there is a discont point in the interval [16..18],but in fact,it's a continuous curve.

how to use fsolve deal with two periodic functions?

How does this  function  work:

rtable_scanblock( M, [rtable_dims(M)],

    (val,ind,res) -> `if`(val > res[2],[ind,val],res),



Please could comment on each statement.

Taken from


I am trying to compute the diffusion coefficient from the diffusion equation. I can compute the analytical solution and evaluate it for the parameters I know and for the known time t to get this function:


I have a function 

f:=x->(x^2 + 2*m*x + m + 1)/(x -1);
Now I want to define a function as simplify(diff(f(x),x)), i did 
g:=x->simplify(diff(f(x),x)). Then, i could not calculate g(3). Please help me. Thank you.
First 12 13 14 15 16 17 18 Last Page 14 of 24