EXPON_DIST

function EXPON_DIST(arg1: number = null, arg2: number = null, arg3: boolean = null): number

Description

Returns the exponential distribution.

Parameters

arg1numberdefault: null

The value of the x function, a nonnegative number.

arg2numberdefault: null

The lambda parameter value, a positive number.

arg3booleandefault: 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);

Get Help

  • If you have any questions about ONLYOFFICE Docs, try the FAQ section first.
  • You can request a feature or report a bug by posting an issue on GitHub.
  • You can also ask our developers on ONLYOFFICE forum (registration required).