Items tagged with function function Tagged Items Feed

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:

Hi, 
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. 

 

Thanks, 
~Austen 

Hi all, I found that the expression:

(2x+7)/5+(6x-3)/3

automatically simplifies to

12/5*x+2/5

Is there a function that will return

(12x+2)/5

which is one fraction, instead?

still have problems,
1.
restart:
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.

2.
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),

    [[1,1],-infinity]);

 

Please could comment on each statement.


Taken from  http://www.mapleprimes.com/questions/131889-Finding-A-Max-In-A-3d-Plot#comment131997

Gracias

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:

f:=x->
646.0548255+(309.8026777+568.8289152*I)*((.8781989023+.4782956073*I)*ln(1.+(-.8781989023+I*((-1)*.4782956073))*exp(10000000*((-1)*9.013850411)*Dif+(61.46924721*I)*x))+(.8781989023+.4782956073*I)*ln(1.+(-.8781989023+I*((-1)*.4782956073...

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.

http://aw.twi.tudelft.nl/~koekoek/askey/ch3/par28/par28.html

Which function represent phi in 3.28.1

Hello,

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 ...

Can someone help me to generate the same, identical grpah over several periods in x-axis? In exact term, I mean that I need to plot a periodical grpah, that repeats itself over the interval? It is like given a periodical function and now have to draw it many times...(function can be any form, not only sine and cosine)
 

I have a region x^2 + y^2 <= 1 and y>=0. It's temperature function is f(x,y) x^2 - 2y^2 + x + y. How do I find the max and min temperatures on the lower boundary y=0?

 

I took the derivatives with respect to x and with respect to y such that:

fx:=diff(f(x,y),x);

fy:=diff(f(x,y),x);

Then I used fsolve({fx=0, fy=0},{x,y}) which game me (-0.5, 0.25)

 

Is there really only one critical point on that lower bound...

Thanks,

However, this does not work.

My problem is not to plot U as a function of time, but somehow convert the function.

I mean, in Your solution U is defined through X(t) and thus Maple is evaluating the solution for DE every time the U is called.

However I would like to have U as function of t without precense of X(t). Since X(t) is a known procedure, there might be the way to explicitly define U as a function of t only, after the evlauation of procedure X(t).

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