0
Can anybody tell about the summation program in python?
(1/1+√2) +(1/√2+√3)........(1/√624+√625) How to make this program???
1 Odpowiedź
+ 1
Hi.
Have you tried some?
I would probably start using
import numpy as np
sum = 0
for i in range(1, 625):
sum += 1/np.sqrt(i) + np.sqrt(i + 1)
print (sum)