Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import math
- t = 0
- for i in range(100):
- nsum = -3/2
- dsum = 0
- for j in range(100):
- nsum = nsum + 1 / (math.factorial(j) * (t+1+j))
- dsum = dsum + 1 / (math.factorial(j) * (t+1+j) ** 2)
- t = t + nsum / dsum
- print(t)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement