Post Reply 
sum command...
10-11-2017, 05:01 AM
Post: #1
sum command...
When I try to evaluate sum(1/x^2,x,1,n), if n = infinity, it evaluates correctly to pi^2/6, but when i put n = 100, 1000, 2000, it calculates it as these giant fractions, which I have to run approx() on to get the decimal value. Then, when I try n = 5000, it runs out of space for the numerator and denominator, and gives me an answer of undef, instead of trying to calculate the decimal answer....
Wondering why it's trying to evaluate this as a huge fraction instead of decimally? and why it's coming up with an answer of undef instead of calculating the correct value?
Thx
-Donald
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
sum command... - webmasterpdx - 10-11-2017 05:01 AM
RE: sum command... - parisse - 10-11-2017, 05:06 AM
RE: sum command... - AlexFekken - 10-11-2017, 05:14 AM
RE: sum command... - webmasterpdx - 10-11-2017, 09:07 AM
RE: sum command... - AlexFekken - 10-11-2017, 12:25 PM
RE: sum command... - Didier Lachieze - 10-11-2017, 09:26 AM
RE: sum command... - webmasterpdx - 10-11-2017, 10:19 AM
RE: sum command... - webmasterpdx - 10-11-2017, 01:41 PM
RE: sum command... - AlexFekken - 10-11-2017, 11:11 PM
RE: sum command... - webmasterpdx - 10-12-2017, 01:13 AM
RE: sum command... - parisse - 10-12-2017, 06:23 AM
RE: sum command... - AlexFekken - 10-12-2017, 06:38 AM
RE: sum command... - AlexFekken - 10-12-2017, 05:04 AM
RE: sum command... - webmasterpdx - 10-12-2017, 07:18 AM
RE: sum command... - parisse - 10-12-2017, 12:10 PM
RE: sum command... - DrD - 10-12-2017, 09:29 AM
RE: sum command... - webmasterpdx - 10-12-2017, 01:02 PM



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