slipper

44 Reputation

2 Badges

14 years, 228 days

MaplePrimes Activity


These are questions asked by slipper

Hi all,

 

I am after some advice on how to extract a value from a proc.

 

Hi all,

I am pretty new to maple so forgive me if i am asking a basic question.

I have created a simple loop to evaluate the sum of  1/(k^2)+3, for k from 1 to n, where in this case n = N*20. here is my code and it works ok (for N=1), i have checked with the built in add/evalf functions.

sm := 0: N := 1:  n := N*20

for k from 1 to n do

sm := sm+(1/(k^2)+3):

end do:

evalf(sm);

Page 1 of 1