BESSELJ
Returns the Bessel function Jn(x).
Syntax
expression.BESSELJ(arg1, arg2);
expression
- A variable that represents a ApiWorksheetFunction class.
Parameters
Name | Required/Optional | Data type | Default | Description |
---|---|---|---|---|
arg1 | Required | ApiRange | ApiName | number | The value at which to evaluate the function. | |
arg2 | Required | ApiRange | ApiName | number | The order of the Bessel function. |
Returns
number
Example
- Code
- Result
let worksheet = Api.GetActiveSheet();
let func = Api.GetWorksheetFunction();
worksheet.GetRange("A1").SetValue(func.BESSELJ(1.9, 2));