Items tagged with function function Tagged Items Feed


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.

Which function represent phi in 3.28.1


I have a question. I need to rewrite the following function

Vo:= (1/((1/R2+1/(1.5*10^6))*(1/(1/R2+1/(1.5*10^6))+2.45*10^3-R2)));

To this form

R2:= ....Vo....

How can i do this in maple? 

Please write for me a code for the following problem.

Problem. Find all the values of m for which the function

f(x)= (x^2 + 2*m*x  + m+2)/(3*x+m)

is increasing in each interval (-infty; -m/3) and (-m/3; + infty)?

Thank you.

I have a non linear Sharpe ratio with 3 portfolio weights w1,w2 and w2. I want to (globally) maximize the sharpe ratio by choosing w1,w2 and w2 subject to the constraints that each of the variables is in the range of 0 to 1, and that their summation is equal to 1. I also want the maximization to start at an initial point of [w1=0.35,w2=0.6,w3=0.05].

The function is:

SR:= (0.012w1+0.007w2+0.0384w3-0.009)/(stdev)

where stdev is the standard deviation of the portfolio ...

First 12 13 14 15 16 17 18 Last Page 14 of 24