7260 Reputation

19 Badges

10 years, 205 days

MaplePrimes Activity

These are answers submitted by nm

This book has number of problem solving and code

Applied Engineering Mathematics with Maple by Gilberto E. Urroz

another set of books with such problems that I like are Computer Algebra Recipes for Classical Mechanics by Richard H. Enns / George McGuire and Computer Algebra Recipes for Mathematical Physics by Richard H. Enns and Computer Algebra Recipes: An Introductory Guide to the Mathematical Models of Science.

Also Differential Equations and Boundary Value Problems by C. H. Edwards / David E. Penney, uses Maple. SPecific one.

I also have Maple Computer Guide for Advanced Engineering Mathematics by Erwin Kreyszig / E. J. Norminton which has Maple code many advanced equations solved using Maple.

A good one for PDE with Maple is Partial Differential Equations for Computational Science: With Maple and Vector Analysis by David Betounes. Also Physics with MAPLE by Frank Y. Wang would be good to look at.


This is what Maple 17.02 gives (hard to read what you have, why not show the Maple code as plain text so one can copy it??)

eq:=Pi=sum((120*n^2+A*n+B)/(16^n*(512*n^4 + 1024*n^3 + 712*n^2 + 194^n + 15)),n=0..infinity);





Using "/" should actually work for both windows and Linux/Unix. Did you try it? I do not have Maple for Linux, but on windows, it should accept "/"

Use 'NAG' output. The Matrix returned contains both L and U, but the L has an implicit 1`s on diagonal. Hence simply extract the L and U from NAG and add the diagonal of ones and transpose as needed. This gives the Crout decomposition. see Maple help for more information on NAG output

This below shows how to obtain cholesky, Dolittle and Crout LU decomposition of a Hermitian  positive-definite matrix


A :=<<2|-1|0>,<-1|2|-1>,<0|-1|2>>;

L,U:=LUDecomposition( A,method='Cholesky',output=['L','U'] );


V,LU:=LUDecomposition( A,output=['NAG'] ):



You should really add one or two more words saying what is it you want done with these symbols you typed.

I assuming for now you want to solve for x (an educated guess)

eq1:= 4*(x-7) =6;
eq2:= (2*x+3)*(2*x^2-5*x-3)=0;

I can't read your code well, since it is not well formated and seems to have many synatx errors (may be it is the cut/paste that did that).

But the while loop is clearly not terminating.

Just look at the logic. It says WHILE P1<>q1 DO.... END DO, then inside the WHILE loop, there is nothing that would change this conditions. You seem to forgotten to assign P1 or q1 to something.

To use a WHILE loop, you need something inside the loop to cause the condition to change, else you'll get stick in an infinite loop.

In addition, it is "or" not "OR".  i.e. lower case. I do not see "OR" in maple help. How did you code run like this? Which Maple version are you using?



Iam sure there is a better way than this (I am newbie) using some build-in function, but how about this:

e1 := c1 + 2*c2 + (c3+3*c4)*x*y + (c5+c6)*y^2 +(c8-2)*y^3*x^2 = 0:
e2 := (c4 + 2*c5 + c7)*x + (c9+ 2*c3+5*c4)*x^2 + (2*c7+5*c5+c6)*y^2*x^3 =0:
sys := map(coeffs,lhs~({e1,e2}),{x,y}) =~ 0:

                         c1 + 2 c2 = 0
                         c3 + 3 c4 = 0
                          c5 + c6 = 0
                           c8 - 2 = 0
                       c4 + 2 c5 + c7 = 0
                      2 c7 + 5 c5 + c6 = 0
                      c9 + 2 c3 + 5 c4 = 0           


eq:= (x+y)^2+ 1/(x + y) ;



I get the 608308.5545 answer with Maple 17.02, on windows 7, 64 bit. Can you try upgrading to 17.02? (did you mean it should be this answer, not 6.0857912022 you gave?)

int(f(x), x=0..2);


f:=x->min(x^2 +1, 2*x+3) ;
plot({f(x),diff(f(x),x)},x=-3..3); %should also add labels, legend, etc....



If the determinant of the vectors is not zero, then the vectors are L.I. So simply take the determinant.

A := `<|>`(`<,>`(-1, -3, -6), `<,>`(3, 5, 6), `<,>`(-3, -3, -4));
v,e := Eigenvectors(A);


Hence L.I.


You do need to eventually specify an actual u(t) function






First 11 12 13 Page 13 of 13