Maple Questions and Posts

These are Posts and Questions associated with the product, Maple

Hello everybody! I have a question that how to show the number of roots of Eqs automatically. Followings are part of my program: 

>U:=solve({-2/phi^3*u[0]^2*diff(phi,x)-4/phi^3*w[0]*diff(phi,x)-2*u[0]/phi^3*diff(phi,x)^2, -6/phi^4*u[0]*diff(phi,x)*v[0]+12*v[0]/phi^4*diff(phi,x)^2, -2/phi^3*v[0]*diff(phi,x)+2/phi^3*w[0]*diff(phi,y)},{u[0],v[0],w[0]});

I can obtain three items roots. My question is how can I obtain the number of roots automatically by using the program!

Hello!

I have a strange issue:   I have a procedure with signum, square roots, I and float numbers. First I optimize it and then compile.  (or just run compile with option optimize=true).  As a result I get a error:

Error, (in TargetLanguageTools:-GetExprType) Analysis is not a command in the _EnvCGEngine package

Trying to understand, what is happening, I manually copy-paste the optimised procedure to the argument of compile. Then it works!!!

I have a compiled function and want to integrate it numerically.  The integration procedure first tries to evaluate the integrand with symbolic values and return a error, since the compiled function accepts only real values.  So I have to write a STUPID workaround  for manual typechecking:

integrand2 := proc (kF1, kF2, m, k, omega, q) if type(kF1, numeric) and type(q, numeric) and type(kF2, numeric) and type(omega, numeric) and type(m, numeric) and type(k, numeric...

Hello,

How can I use assign(...) inside in proc in order to affect the local variables and not the globals.

 

Thanks

Consider the following:

 

with(Physics);

 

Setup(noncommutativeprefix = z);

 

(z1*z2)*z1;

 

gives z1 z2 z1 as it should but

 

z1*z2*z1*z1;

 

gives z1^3 z2. Thus noncommutativity has not been respected?

 

What can I do?

> with(CurveFitting); data := [[2, 10], [3, 1], [5, 4], [7, 5]];
               [[2, 10], [3, 1], [5, 4], [7, 5]]
> PolynomialInterpolation(data, y);
                    3  3       2   199     143
      ...

I have a 4 by 4 matrix that I need to augment to a 7 by 7 matrix.

I find I can use the "|" operator to append a column to my original matrix. So I can do this three times and I have a 4 by 7 matrix.

Now, the only way I have found to add the three rows I still need to add is to transpose, use "|" three times and to transpose back. While this indeed works it is rather clumsy and probably not efficient.

Is there a better way to do that better; i.e. is there...

A better approximation gives more digits of accuracy in the result per digit of precision used in the computation than a good approximation does.  I was wondering if anyone could come up with a better approximation to the MRB constant than 31/165, 

Hi,

I need to fit a complex function to some data points Couuld you please show me what Maple operations to use?

The function is:

pn := unapply(KT*bn*(sum((dWn[i](lambda)*(sum(c[i+r]*binomial(i+r, i)*(Lmbd0(lambda)/bn)^r, r = 0 .. nterm-i))+IWn[i](lambda)*(2*lambda^3-2)*(sum(r*c[i+r]*binomial(i+r, i)*(Lmbd0(lambda)/bn)^(r-1), r = 1 .. nterm-i))/(bn*(3*lambda^2)))/bn^i, i = 0 .. nterm)), lambda);

- 'IWn' and 'dWn' are known (and long) functions of lambda.

This is an important topic which is why I have labelled it as a post.  Many users would like to know how to implement a minor fix to versions where fixes have not been applied.

I will start with one example.

   pdsolve had an issue where the fourth order term was not evaluated in the pdsolve command.  The issue 
   works Maple 16.  To those users of earlier versions where the code didn't work, it was ...

   showstat(pdsolve)

Dear everyone,

 

  Hello,

  I have a question related to copy and paste in Maple 16.

 Consider an input like

**********************************

eq1:=4*x^n*y^m+3*x^2+5*y^2;

f1:=map(t -> `if`(match(t = c*y^d, y, 's'), subs(s,c), NULL),
      convert(eq1, list));


f2:=map(t -> `if`(match(t = c*y^d, y, 's'), subs(s,d), NULL),
      convert(eq1, list));

Sir/Madam

My Version of MAPLE is 13.02

I have the following expression on my worksheet:

 

(63/8) ((cos(Θ))^5)[G,H,L,P,T,U]^5 -(35/4)((cos(Θ))^3)[G,H,L,P,T,U]^3 + (15/8)(cos(Θ))[G,H,L,P,T,U]

 

I do not need the factors of [G,H,L,P,T,U] and I want to delete them, but all my efforts in the past few hours are in vain. I have tried to highlight those expressions and then use the EDIT -> DELETE ELEMENT...

Hi,

 

Is there a way to generate Java or C code to implement a general nth order linear ordinary differential equation?

I am looking to be able to send the coefficients and have it compute the time waveform given initial conditions.

 

Regards.

how can I solve memory used limitation problem on MAC OSX LION .After memory indicated on the bowwtom of the sheet reaches 57M it freezes.

First 1571 1572 1573 1574 1575 1576 1577 Last Page 1573 of 2224