SERIESSUM


Sums the first terms of a power series.

Syntax:

SERIESSUM(x, n, m, ar)

A power series may be represented as:



The SERIESSUM function calculates the sum of the first terms of such a series, where:

x is the variable,

n is the power of x for the first term,

m is the increment by which the power of x increases with each term, and

ar refers to a range containing the a coefficients of the terms to be included.


Example:

The following power series may be used to express the mathematical constant e raised to a power:



When x = 1, summing the terms in the series will approximate e. To sum the first 5 terms using SERIESSUM we should set:

x = 1

n = 0

m = 1

ar to B1:B5, where B1, B2, B3, B4, B5 contain respectively:

          = 1/FACT(0), = 1/FACT(1), = 1/FACT(2), = 1/FACT(3), = 1/FACT(4)


Now, using these values in the SERIESSUM function:

SERIESSUM(1, 0, 1, B1:B5)

returns 2.70833333333333, an approximation of e ( = 2.71828182845904...). Using more terms would give a closer approximation.


Application:

An application of the SERIESSUM function can be found in calculating the value of an exponential function, such as , using its Maclaurin series expansion. The Maclaurin series for is:



In this series, the coefficient of each term is .


Let's use the SERIESSUM function to approximate the value of , which is approximately 2.71828.


We'll sum the first six terms of the series.


Here's how we can set up the data and the function:

  • (the variable) = 1
  • (the starting power of ) = 0
  • (the increment) = 1
  • The coefficients, , for the first six terms (=0 to =5) are:


Here is a table representing this information:

Term (k)

Power of x

Coefficient ()

A
B
C
1
0
0
1
2
1
1
1
3
2
2
0.5
4
3
3
0.166667
5
4
4
0.041667
6
5
5
0.008333

Using the SERIESSUM function with these values:

SERIESSUM(x, n, m, coefficients)


SERIESSUM(1, 0, 1, {1, 1, 0.5, 0.166667, 0.041667, 0.008333})


The function calculates the sum as follows:





The result is an approximation of , and as more terms are included, the approximation becomes more accurate.

Result for SERIESSUM(1, 0, 1, {1, 1, 0.5, 0.166667, 0.041667, 0.008333}):

2.716667




This page is protected by Google reCAPTCHA. Privacy - Terms.
 
Built using Zapof