Talk:Introduction to functions

From Applied Science
Revision as of 18:10, 21 January 2025 by Wikiadmin (talk | contribs) (Created page with "I made two small mistakes that I only noticed now. The sum of the arithmetic progression requires three variables to work with any sequence, not just 1 + 2 + ... + n. In the last algorithm the sum is an integer, but it's storing the result of a division of two integers. It's losing digits at each iteration.")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

I made two small mistakes that I only noticed now. The sum of the arithmetic progression requires three variables to work with any sequence, not just 1 + 2 + ... + n.

In the last algorithm the sum is an integer, but it's storing the result of a division of two integers. It's losing digits at each iteration.