Maple Questions and Posts

These are Posts and Questions associated with the product, Maple

Regards, I have a question about the solve function in maple

How does the solve function works?

I know if you have a random eq lets say y:= x-> x^2 + 5 x

and I use the function like....   solve(x^2+5x = 8) it will solve it for me giving me numerical values for x or the roots of x

If I have an eq w(x) and it has constants lets say w:= x -> a[1]x^2+a[2]x^4

and i solve this equation in this manner:    solve([w(0),w(1),D(w)(0),D(w)(1)])

 Write a function to compute the n-th partial sum of the alternating series

"1-1/(4)+1/(9)-1/(16)+...+(-1)^(n-1) * 1/(n^(2))"
Specifically, the procedure takes n as input, and returns the sum of the first n terms.
 
So I am kind of lost- I've tried 5 different procs but keep getting more confused. Here is current one:
 
 
prob := proc (N) 
local a, u, n, q; 
 G := proc (N)
 local s, n;
 s := 0.;
 n := 0;
 while n < N do 
n := n+1;
 s := s+1/n
 end do;
 [s, n] 
end proc;
             G := proc (N) local s, n; s := 0.; n := 0; while n < N do n := n+1; s := s+1/n end do; [s, n] end proc
Compute G(1.0),G(2.0), .....G(7.0) try to figure out what the procedure G is doing
> G(1.0);

Hello,

I'm trying to install Maple 16 on my new computer with Windows 8. But every time I try to install it, a message popup "Installer user interface Mode not supported

I have looked at google, but can't find any answer there solve my question. Anyone there can help me?

I have tryed to make a silent install but it dosen't work..

 

Hope anyone can help me :)

Hi, there, maple built-in help just has an example of Brusselator model in 1D case. But how can I intepreter the diffusion terms that Brusselator has in 2D case? Could you please give me an example of the code to run Brusselator simulation in 2D case?

Brusselator model:

http://hopf.chem.brandeis.edu/yanglingfa/pattern/bruss/index.html

 

Thank you

Kyle

Hello,

I'm trying to evaluate an integral numerically on a unix system with the command line version of maple (version 16). For some entered parameters the integral evaluates quickly but for others it never seems to be able to complete the computation.

Moreover, when running the files, which are .mpl files, via the GUI all integrals are evaluated with ease.

So far I have been unable to find why some integrals and not others are evaluated when submitted via the command line version.

Use Newton's Method to find a local extrema for f(x)=sin(x^2)+x

with start point x=(1,0)

take derivative of f(x) then apply Newton's Method

 

My teacher started us off with this but I can't seem to get it to work the way she did, any help would be appreciated!

 

prcNewton:=proc( ) 

  local ftn,strpt,epsilon,maxlps,i,xn,dftn; 

  if nargs>4 then     

 

Given the following expression:

i got error while running the code. 



restart; de := diff(f(y), y, y, y, y)+2*W*(diff(f(y), y, y, y))^2+3*(diff(f(y), y, y, y, y))*(diff(f(y), y, y))-(M*M)*(diff(f(y), y, y))+G*(diff(theta(y), y, y))+B*(diff(phi(y), y, y)) = 0, diff(theta(y), y, y)+Nb*(diff(theta(y), y))*(diff(phi(y), y))+Nt*(diff(theta(y), y))^2 = 0, diff(phi(y), y, y)+Nb*(diff(theta(y), y, y))/Nt = 0, f(h1) = (1/2)*F, f(h2) = -(1/2)*F, (D(f))(h1) = -1, theta(h2) = 1, phi(h2) = 1, (D(f)...

I have trouble with Maple's add-function. It is usually very good at manipulating my sums using Binomial coefficients, but Maple calculates outright wrong in this example, when using the sum-function:

http://dl.dropbox.com/u/22027008/maplePlay.mw

I would like to use Maple's features for reasoning about expressions (solve etc.), so the numerical add is not desirable. What to do?

 

Hello,

I'm really new in Maple so the problem I have may look somewhat trivial. I have to solve a system of equations for two variables (V and alpha). All the expressions shall be reduced at the end in three (Assuming that 2 of them will be dependent). The code I've written is:

> Vax := proc (V, alpha) options operator, arrow; V*cos*alpha-w*cos*(phiW-phi) end proc;
> Vay := proc (V, alpha) options operator, arrow; V*sin*alpha-w*sin*(phiW-phi) end proc;

At our site, we deploy Maple using Microsoft APP-V. It is working fine on other PCs but a strange problem is occurring on the podium PC of a lecture theatre, in which Maple 16 launches works and works fine until an open bracket is typed, i.e. (

It then hangs and no further input can be typed in, or any other action done. The only thing it allows is to do File > Exit.

The Classic Worksheet of Maple 16 doesn't give this problem.

I would appreciate your comments on this.

There are two interesting threads about definite integration on the usenet group comp.soft-sys.math.maple posted in the past few days.

The first thread is more about the wrong result coming out of Maple's int command when computing via its `MeijerG` method. Motivating examples there include

int(cos(t)/(1+t^k), t=-infinity..infinity);      # for k=10,12,14,...

The poster demonstrates using residues to obtain a terse result.

In the second thread the poster examines the ideas that the solutions involving RootOfs (as returned by the `ftoc` method) may suffer from numerical difficulties during floating-point evaluation and are unnecessarily complicated when re-expressed in terms of more standard functions (ie. allvalues, then simplification...).

For those interested, an existing `contour` method exists within `int`. It is not very strong however. One can examine its source using commands such as,

showstat(`int/definite/contour`);

showstat(`int/definite/contour/def1`);

etc.

See also Methods of contour integration on wikipedia.

i want maple to return only positive real roots of a cubic polynomial.

polynomial: x^3+15*x^2-25*x-29

maple command and output:

(op(select(t -> evalf(t) > 0, map(Re+Im*I, simplify(evalc([solve(x^3+15*x^2-25*x-29,x)]))))));

First 1555 1556 1557 1558 1559 1560 1561 Last Page 1557 of 2235