Returns the sum of a power series based on the formula.
Name | Type | Description |
arg1 | any | Is the input value to the power series. |
arg2 | any | Is the initial power to which you want to raise x. |
arg3 | any | Is the step by which to increase n for each term in the series. |
arg4 | any | Is a set of coefficients by which each successive power of x is multiplied. |
builder.CreateFile("xlsx"); var oWorksheet = Api.GetActiveSheet(); var oFunction = Api.GetWorksheetFunction(); oWorksheet.GetRange("A1").SetValue(oFunction.SERIESSUM(5, 2, 1, 3)); builder.SaveFile("xlsx", "SERIESSUM.xlsx"); builder.CloseFile();