Manuals/calci/ARITHMETICSERIES

From ZCubes Wiki
Revision as of 01:49, 13 March 2017 by Jayaram (talk | contribs)
Jump to navigation Jump to search
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