Returns the exponential distribution.
Name | Type | Description |
arg1 | number | The value of the x function, a nonnegative number. |
arg2 | number | The lambda parameter value, a positive number. |
arg3 | boolean | A logical value that determines the function form. If this parameter is true, the function will return the cumulative distribution function, if it is false, it will return the probability density function. |
builder.CreateFile("xlsx"); var oWorksheet = Api.GetActiveSheet(); var oFunction = Api.GetWorksheetFunction(); var ans = oFunction.EXPON_DIST(0.5, 3, false); oWorksheet.GetRange("B2").SetValue(ans); builder.SaveFile("xlsx", "EXPON_DIST.xlsx"); builder.CloseFile();