EXPON_DIST
function EXPON_DIST(arg1: number = null, arg2: number = null, arg3: boolean = null): number
Description
Returns the exponential distribution.
Parameters
- arg1
number
null The value of the x function, a nonnegative number.
- arg2
number
null The lambda parameter value, a positive number.
- arg3
boolean
null 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.
Returns
number
Try It
var oWorksheet = Api.GetActiveSheet();
var oFunction = Api.GetWorksheetFunction();
var ans = oFunction.EXPON_DIST(0.5, 3, false);
oWorksheet.GetRange("B2").SetValue(ans);