Post Reply 
Summation based benchmark for calculators
09-06-2018, 09:30 PM
Post: #136
RE: Summation based benchmark for calculators
a different result for NUMWORKS (Python script)

Someone posted that 100000 iterations would take 84sec. My script does it within 68sec. Perhaps I made a mistake? I'm not at all experienced with Python.

So here is the short script
Code:

from math import *
x=0
for i in range(1,100001):
 x=x+pow(exp(sin(atan(i))),1/3)
print(x)

Result is 139560.97614110521

Günter
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Summation based benchmark for calculators - Guenter Schink - 09-06-2018 09:30 PM



User(s) browsing this thread: 18 Guest(s)