Talk:Sum of a series

From Rosetta Code
Revision as of 19:59, 25 November 2012 by rosettacode>Gerard Schildberger (→‎significant digits: added a talk section. -- ~~~~)

Wrong name?

Strictly speaking (from a mathematical point of view), this task is asking for the "sum of a sequence"; the term "series" refers instead to the list of partial sums of such a sequence, and you're not summing the series, because it's already summed en passant. You can google for "series vs sequence" for more on this. While "series" and "sequence" are often confused in common parlance, I don't see much harm in changing this task to a more accurate name from the viewpoint of the mathematicians. (I guess I'm a bit sensitive on this subject because at one point I had to go through all the Perl 6 docs and change all occurrences of "series operator" to "sequence operator".) --TimToady 18:37, 22 November 2012 (UTC)

Agreed. I rephrased the intro accordingly. Hope it's ok. Maybe the title should be changed as well, but the current one is not so bad, providing a little justification is given in the intro.--Grondilu 19:08, 22 November 2012 (UTC)
You could move Sum of a series to Sum of a sequence and have Sum of a series redirect to it to cover all bases? --Paddy3118 20:24, 22 November 2012 (UTC)
I think the title should have "series" in it because that's what we're talking about. Maybe simply just "Series".--Grondilu 21:18, 22 November 2012 (UTC)
So the task is actually to "calculate a series" as the mathematical definition of series has to include the notion of a sum of terms, whereas a sequence is just the ordered terms. --Paddy3118 22:43, 22 November 2012 (UTC)
Yeah but don't use that as a title. No article on RC begins with "Calculate a ...". For instance, factorial is just factorial, not Calculate the factorial of a number. So if we really want to change the title of this article, I suggest just Series.--Grondilu 23:22, 22 November 2012 (UTC)

My $0.02 worth. The task is actually to find the 'Partial Sum' of the sequence 1/k**2 between limits, which may be called a Finite Series. The Sum of a sequence (Series) is the sum over all values of an infinite sequence, and obviously can not be calculated just by adding them all up in a loop. --Nigel Galloway 12:40, 23 November 2012 (UTC)

summing backwards

Has anyone experimented with summing the series backwards? That is, the least significant fractions first?

With REXX, summing the smallest fractions first yields a very slightly larger value, but only in the last few digits (3 or 4).

With 60, 80, or 100 digits of precision (or more), it seemed insignificant to me, almost like noise digits. -- Gerard Schildberger 19:39, 25 November 2012 (UTC)

significant digits

Could it be that for 10n terms, the significant number of digits (base 10) increase at every 10n and also at every [π * 10n] as n→∞ ?

Possibly I mean as n gets very large. -- Gerard Schildberger 19:59, 25 November 2012 (UTC)