Maple Questions and Posts

These are Posts and Questions associated with the product, Maple

Hi,

I'm using Maple 14 and have a function in several variables, which I want to minimize. As far as I know, to guarantee that NLPSolve (from the Optimization package) is really finding a global minimum, this function must be convex.

What is the best way to test for convexity in Maple?

Thanks in advance,

Carlos Mallen

i am plotting multiple plots in one graph using the following commands. This has been successful for a different function but it doesnt work at all for the typed function. can you pinpoint my mistake? maple sheet is attached as well.

 
> restart;
> w(r):=1+(S)/(2)*[(r^(2)-1)/(2)-4*ln(r)]-(b*S^(3))/(4)*[(r^(4)-1)/(4)+128*((1)/(r^(2))-1)-6*(r^(2)-1)+48*ln(r)]+(3* S^(5)*b^(2))/(8)*[80*(r^(2)-1)-5*(r^(4)-1)-640*ln(r)-640*((1)/(r^(2))-1)+(r^(6)-1)/(6)+256*((1)/(r^(4))-1)];

How do you get equation from user in middle of a procedure? I tried to use the GetEquation of Maplets[Examples] but I cannot make a function out of it. The sheet is something like:

 

I want to minimze VaR (the 5th percentile for the return distribution) with LP.
However, the way I have specified the problem does not work for some reason, why?


restart:
with(Optimization):
with(LinearAlgebra):

nstock := 20:
n := 15:

R := RandomMatrix(n, nstock, generator = -15 .. 15, outputoptions = [datatype = float[8]]):
W := Matrix(nstock, 1, [seq(w[i], i = 1 .. nstock)]):
data1 := Array(Multiply(R, W));

Hi. Solving a problem of non-linear oscilations of thin string I met a PDE with unusual bcs at the right side of the string: 
((diff(xi(x, t), t))^2-a1-b1*x)*(1+(diff(phi(x), x))*(diff(xi(x, t), x)))+c1*(diff(xi(x, t), x))*(diff(xi(x, t), t))*(2*(diff(phi(x), x))-(diff(xi(x, t), x)))*sqrt(1+(diff(xi(x, t), x))^2) = 0 , where phi is known function. Can...

For your information.

The growth of the audience of russian Maple site webmath.exponenta.ru
According bigmir.net

 year        hits          visitors         hosts        

 2010      608 118    193 495     179 328
 2011  ...

Your worksheet may be incomplete"

Hi, I use maple 12 for mac, I have an exam at 9am, it's almost 3am and my whole exam notes (open "maple" exam, as opposed to open book) have just corrupted.

PLEASE HELP ME.. :(

2p81_final.mw

Download 2p81_final.mw

 

Hello

 

i want to simplify this expression (f@f@...@f@f)(x)

f is repeated "n" times

e.g: for n=3

we found (f@f@f)(x) .

 

help me please.

Hi,

I would like to calculate the inverse fourier transform from this: 

fourier(laplace(g(x, t), t, s), x, k) = exp(-s*`&tau`-I*Zeta*k)/(s+a^2*k^2)

And I get this:

 

f(t)=(cost,sint,cos2t)

I need necesary commands in order to draw to f( t)...'s tangent at t=pi/3. Could you help me

Hi

I'm solving a differential equation which has a boundary at infinity, when I add this third condition it returns nothing. Of course I it's easy to solve by hand but it should be done in a loop. can you give me a hint on this?

Thanks

Hi guys

i have a problem to drawing this function

problem is F(r,theta)=sin(6r) /6r   IF r is not 0

          and F(r,theta)=1               IF r is 0

Thanks for your helps 

 

 

Hello .

I need your help please .

how can i solve this kind of equations like : 61*a^2+1=b^2

I would like to index Variable names like how it is common in physics (just as an addition to the variable name to distinct between say ta and tb just as two different times). However i am not sure how to do this and make maple treat for example ta EXACTLY like if it would be called ta.

int(1/2*m*(-x[b]+x[a])^2/(-tb+ta)^2,t = ta .. tb)

is evaluated but

int(1/2*m*(-x[b]+x[a])^2/(-t[b]+t[a])^2,t = t[a] .. t[b])

I'm trying out this example code, which I have succesfully used before, but now it's giving me this error. I tried with the simplest example, but i still get the error. One answer to this topic was an "extra space" in the definitions, but i've checked with and without spaces and i still can't find what is wrong... Anyone has any ideas?
thank you

> with(DEtools):
> ode1 := d*x(t)/dt = x(t);

d x(t)
------ = x(t)
First 1632 1633 1634 1635 1636 1637 1638 Last Page 1634 of 2224