# Using Maple

Discussion in 'General' started by Bob Loblaw Law, Sep 28, 2010.

1. Anyone know how to use Maple for computing? If yes, how do I evaluate Sum((1/(n^2)),x=1..infinity); to 50 decimal places?

2. evalf(%,50); semicolon if you need to suppress output

3. #3
Last edited by a moderator: Sep 28, 2010
Thanks for the help, but I still got the same answer as before.

r1(x,y):=(x,y)->sqrt(x^2+y^2);

r2(x,y):=(x,y)->(sqrt(x^2+y^2))+sin(x)*cos(2*y);

g(m):=m->exp(-(m**2));

plot3d(g(r1(x,y)),x=-2..2,y=-2..2,title="g(r1(x,y))");
Warning, unable to evaluate the function to numeric values in the region; see the plotting command's help page to ensure the calling sequence is correct

4. that... i probably cannot help you with. i am more familiar with MATLAB.

i know for a fact the evalf command will give you decimal places.. if not the percent sign, put in the variable you are looking for; like this

evalf(variable,50) 50 being the number of decimals you are looking for.

5. I've been trying to fix this for so long, haha. I still can't get it but thank you for your help.