MaplePrimes Questions

I tryto solve a linear program of big dimension using LPSolve function. My problem is that is returns a solution but I am not sure if it is unique or not, and for me it is really important.

I saw that in the new version there are options for LPSolve: method=interiorpoint or activeset. If I understood correctly, interiorpoint gives a solution in the middle of the interval and the activepoint - in the corner. My idea was to run LPSolve twice using those two methods. If...

Hi,

How does one implement the multinomial probabiility distribution in Maple? If it's not available in Maple, what would be an easy way to define one?

 

Thank!

Hello, I´m trying to solve a system of 15 non linear equations and 8 unknown variables {r0,u0,w0,v0,q0,n0,t0,m0}, all of my equations ase symbolic with variables 10 {x,y,r,u,w,v,q,n,t,m}.

The Solve command does not work, I've been reading the other posts regarding this issue, but I don't believe they work for my case.

I would really appreciate if someone has an idea to help me solve this issue.

Im posting the worksheet with the system of 15 equations

 

I'm having problems tweaking legends in plots. I'm using Maple 15 / Standard on Windows 7 - 64 bits.

The first problem I have is that the legend box is too narrow. Is there a way to fix that? The help page does not mention anything to that effect.

http://www.maplesoft.com/support/help/Maple/view.aspx?path=plot/options

I could have the legend above or below and the box would stretch wide enough, but I would prefer to have the legend on the left.

I am trying to get students to study inc/dec etc. with a function like y = 3/5* x^(5/3) - 1/2*x^(2/3)

the problem is that Maple will NOT plot either the original function or its derivative, except where x > 0

this does not make sense to me, since of course a cube root exists for x < 0.

Please HELP !!!

thanks

Gregor Olsavsky

penn state univ.

PS I use Maple V at home, at school Maple 11, classic work sheet

 

 

 

 

 

 

There is a enought complex function H(y) of one variable (includding definite integrals and 3 parameters). One needs to solve equations like that H'(y)=H''(y)=0 and build surface in parametrical space with respect to such solutions. Straightforward method leads to 'Warning, solutions may have been lost' for solve command. How to reformulate problem to become it solvable?

I have defined a function 'A' and written a procedure to evaluate it for various variables, as follows:

A := r*sin(m);

Aval := proc (r, m)

evalf(A);

end proc;

Aval(1, Pi);

The function defined by its variables is returned:  r*sin(m).

How can I get maple to return the numerical value of the function?

Hi!

I have the same problem.

   "Simulation problem: maximum number of event iterations reached (100) at t= ...."

I have a model which worked without problem in maplesim2, using a lot of event iterations. The model can only work this way, becouse its a mechanic model where the friction is function of the sliding speed, thus where the speed changes value, the friction coefficient does also, and an event occurs.

I really need to know where...

Hello,

I have got a problem using LPSolve with the option "method=interiorpoint". If I do not add this option it works fine but if I add this option I get the message "Error, (in Optimization:-LPSolve) unrecognized storage format, storage = []"

Could you please help me to deal with that? Thank you.


opoly := (1-x^2)*diff(f(x), x$2) - x*diff(f(x), x) + n^2*f(x) = 0;
sol := op(2,dsolve(opoly));
gen := sum(cos(n*arcsin(x))*y^n/n!, n=0..7);

with(gfun):
seriestoratpoly(series(gen, z, 8), ['egf']);

error not a series, why?


seriestoratpoly(gen, ['egf']);

refere to the following link, it is possible to use a few terms to calculate a generating function, but where is the function generating? how do it  work in gfun?

http://www.google.com.hk/url?sa=t&...

opoly := (1-x^2)*diff(f(x), x$2) - x*diff(f(x), x) + n^2*f(x) = 0;
sol := op(2,dsolve(opoly));
P := sum(cos(n*arcsin(x))*z^n/n!, n=0..7);
with(gfun):
algeqtoseries(P, x, z, 7, true);

Error, invalid input: gfun:-algeqtoseries expects its 1st argument, Pol, to be of type polynom(anything, [x, y]), but received 1+(1-x^2)^(1/2)*z+(1/2)*cos(2*arcsin(x))*z^2+(1/6)*cos(3*arcsin(x))*z^3+(1/24)*cos(4*arcsin(x))*z^4+(1/120)*cos(5*arcsin(x))*z^5+(1/720)*cos(6*arcsin(x))*z^6+(1/5040)*cos(7*arcsin(x))*z^7...

Hi,

How to solve this equation?

Any Idea?

Thx

1.778895759*Sigma-1831241.099/(76553.66445-.576e-5*Sigma^2)+6600.970252*Sigma/(76553.66445-.576e-5*Sigma^2)+.5739576533e-1*Sigma^2/(76553.66445-.576e-5*Sigma^2)+.4735119433e-4*exp(.7618258041e-2*Sigma)*Sigma^2/exp(.9051395693e-5*Sigma)/(76553.66445-.576e-5*Sigma^2)-39332.76308*exp(.7618258041e-2*Sigma)*(41.17+1/(1-exp(-160)))/exp(.9051395693e-5*Sigma)/(-69.17083220+Sigma)/(-69.17083220-Sigma)-629324.2088*exp(.7618258041e-2*Sigma...

Hello!

 I'm new to maple and I'm having some difficulties with coding.

I'll explain the problem

I have 2 vectors, a1 and a2, and I want to make a new set of vectors R(n,m) where R(n,m) = n*a1+m*a2 for n and m from 1 to 100 (as an example). This will create n*m vectors (in this case 10000) that will be marked as R(0,0), R(1,0), R(0,1), R(1,1), R(2,1), ...

It seems as though this would be simple but I haven't found a way to get the repetition statement ...

Whenever I try to plot a simple/small function in 2d, Maple literally takes forever to calculate it whenever the frame rate is too high.

For instance, the following command (from a tutorial, so it should work):

animate( plot, [exp(-x/5)*sin(x),x=0..t], t=0..20, frames=100 );

Will not compute, unless i change the number of frames to 50 or below.

I tried this on a friends computer (he has a mac, but has way weaker performance) and it worked just fine.

First 1817 1818 1819 1820 1821 1822 1823 Last Page 1819 of 2429