alamanya

36 Reputation

4 Badges

20 years, 44 days

MaplePrimes Activity


These are questions asked by alamanya

Hi, the following Maple code produces an error for the value x=0: 0 instead of 1.

 

> for x from 0 to 5 do 

>print(evalf(sum((-1)^k*x^(2*k)/factorial(2*k), k = 0 .. 10)), evalf(cos(x))) 

> end do; 

0., 1. 
0.5403023059, 0.5403023059 
-0.4161468365, -0.4161468365 
-0.9899924966, -0.9899924966 
-0.6536436057, -0.6536436209 
0.2836642141, 0.2836621855 

Why such an error?

My solution to obtain the good value is:

> for x from 0 to 5 do 

> print(evalf(subs(y=x,sum((-1)^k*y^(2*k)/factorial(2*k), k = 0 .. 10))), evalf(cos(x))) 

> end do; 
                                1., 1. 


                      0.5403023059, 0.5403023059 


                     -0.4161468365, -0.4161468365 


                     -0.9899924966, -0.9899924966 


                     -0.6536436057, -0.6536436209 


                      0.2836642141, 0.2836621855 

Thanks.

Hi,

I'd like to draw a disk with center (0,0,0) , radius 1, in the plane theta=constant (or y=tan(theta) x), where theta is given different of 0.

How can I proceed?

Thanks.

ALS

Hi,

I want to evaluate an approximation of the solution of the equation eq1 in [0,1] using 4 digits.

In first try, when I first write Digits:=4,  this seems avoid the command fsolve to display the solution.

In second try, when I write evalf(fsolve(eq1,beta=0..1),4),  evalf seems avoid the command fsolve to display the solution.

In the final try, when I write  
> fsolve(eq1,beta=0..1):
> evalf(%,4);
I have...

Hello,

When you export a mw maplet file ****.mw  to a ****.maplet file, and when you launch this file ****.maplet with mapletviewer.exe, the following message appears at start: "Error launching maplet splash screen".

Kind regards,

ALS

Hi, i've got this java runtime error when launching Maple 14 interface. Maple 14 stops after 1 second.

Everything is OK with the classic worksheet interface.

Can you help me please?

Regards,

Alain Le Stang (from France)

Page 1 of 1