Difference between revisions of "Manuals/calci/ARITHMETICSERIES"

From ZCubes Wiki
Jump to navigation Jump to search
Line 21: Line 21:
 
*[[Manuals/calci/SUM| SUM]]
 
*[[Manuals/calci/SUM| SUM]]
 
*[[Manuals/calci/PRODUCT| PRODUCT]]
 
*[[Manuals/calci/PRODUCT| PRODUCT]]
 +
 +
 +
 +
 +
*[[Z_API_Functions | List of Main Z Functions]]
 +
 +
*[[ Z3 |  Z3 home ]]

Revision as of 02:49, 13 March 2017

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