SERIESSUM
function SERIESSUM(
arg1: any = null,
arg2: any = null,
arg3: any = null,
arg4: any = null,
): number | string | boolean
Description
Returns the sum of a power series based on the formula.
Parameters
- arg1
any
null Is the input value to the power series.
- arg2
any
null Is the initial power to which you want to raise x.
- arg3
any
null Is the step by which to increase n for each term in the series.
- arg4
any
null Is a set of coefficients by which each successive power of x is multiplied.
Returns
number | string | boolean
Try It
var oWorksheet = Api.GetActiveSheet();
var oFunction = Api.GetWorksheetFunction();
oWorksheet.GetRange("A1").SetValue(oFunction.SERIESSUM(5, 2, 1, 3));