clangcmp | 4 years ago | on: To compute a constant of calculus (2019)
They did. They called it Newton's series
clangcmp | 4 years ago | on: To compute a constant of calculus (2019)
clangcmp | 4 years ago | on: To compute a constant of calculus (2019)
S =[2,1,2]
T =0
for P in range(200):
S += [1,1,(4 + 2*P)]
for x in range(len(S)-1):
T = 1 / (T + S[-(x+1)])
print(S[0] + T) # value of e