WorksheetFunction.BesselJ Method
Returns the Bessel function.
Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)
Syntax
'Declaration
Function BesselJ ( _
Arg1 As Object, _
Arg2 As Object _
) As Double
'Usage
Dim instance As WorksheetFunction
Dim Arg1 As Object
Dim Arg2 As Object
Dim returnValue As Double
returnValue = instance.BesselJ(Arg1, Arg2)
double BesselJ(
Object Arg1,
Object Arg2
)
Parameters
Arg1
Type: System.ObjectThe value at which to evaluate the function.
Arg2
Type: System.ObjectThe order of the Bessel function. If n is not an integer, it is truncated.
Return Value
Type: System.Double
Remarks
If x is nonnumeric, BesselJ generates an error value.
If n is nonnumeric, BesselJ returns the generates an error value.
If n < 0, BesselJ generates an error value.
The n-th order Bessel function of the variable x is:
Figure 1: Bessel function of the variable x
where:
Figure 2: Gamma function
is the Gamma function.