Difference between revisions of "Manuals/calci/ARITHMETICSERIES"

From ZCubes Wiki
Jump to navigation Jump to search
Line 11: Line 11:
 
*The sum of the sequence of the first n terms is then given by
 
*The sum of the sequence of the first n terms is then given by
 
<math>S_{n} = \sum_{k=1}^n a_k</math>
 
<math>S_{n} = \sum_{k=1}^n a_k</math>
 +
 +
==Examples==
 +
#ARITHMETICSERIES(10,3,6) = 10 13 16 19 22 25
 +
#ARITHMETICSERIES(200,13/7,5) = 200 201.85714285714286 203.71428571428572 205.57142857142858 207.42857142857142
 +
#ARITHMETICSERIES(33,-7,8) = 33 26 19 12 5 -2 -9 -16
 +
 +
==See Also==
 +
*[[Manuals/calci/SERIESSUM| SERIESSUM]]
 +
*[[Manuals/calci/SUM| SUM]]
 +
*[[Manuals/calci/PRODUCT| PRODUCT]]

Revision as of 12:37, 23 September 2016

ARITHMETICSERIES (Start,Difference,Numbers,OnlyNth)


  • is the starting value
  • is the difference value of the series.
  • is the positive real number.

Description

  • This function gives the Arithmetic series of the numbers.
  • An arithmetic series is the sum of a sequence {a_k}, k=1, 2, ..., in which each term is computed from the previous one by adding (or subtracting) a constant d.
  • Therefore, for k>1,
.  
  • The sum of the sequence of the first n terms is then given by

Examples

  1. ARITHMETICSERIES(10,3,6) = 10 13 16 19 22 25
  2. ARITHMETICSERIES(200,13/7,5) = 200 201.85714285714286 203.71428571428572 205.57142857142858 207.42857142857142
  3. ARITHMETICSERIES(33,-7,8) = 33 26 19 12 5 -2 -9 -16

See Also