sum command...
|
10-11-2017, 09:07 AM
Post: #4
|
|||
|
|||
RE: sum command...
Of course I'm exceeding CAS limits, but why is it calculating it as a ratio? I would imagine or want the SUM function to work like this pseudocode:
sum = 0; for x=1 to 5000 sum = sum + expression; endfor Clearly, that's not how it's being evaluated....which is kinda weird. I tried running this in home: sum(1/x^2, x, 1, 1000) It gave be a bizarre ratio as an answer of 9.9999e499 as both numerator and denominator... I was able to run approx(sum(1/x^2,x,1,1000)), and that worked....result was 1.6439.. ....with 5000, I get undef in home mode too... |
|||
« Next Oldest | Next Newest »
|
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)