Last Modified: December 18, 2017

Calculates the spherical Bessel function of the first kind.

Input argument.

This input accepts a double-precision, floating-point number or a complex double-precision, floating-point number.

**Default: **The default value is 0 if **x** is a double-precision, floating-point number. The default value is 0 + 0i if **x** is a complex double-precision, floating-point number.

Order of the spherical Bessel function.

Error conditions that occur before this node runs.

The node responds to this input according to standard error behavior.

Standard Error Behavior

Many nodes provide an **error in** input and an **error out** output so that the node can respond to and communicate errors that occur while code is running. The value of **error in** specifies whether an error occurred before the node runs. Most nodes respond to values of **error in** in a standard, predictable way.

**Default: **No error

Value of the spherical Bessel function of the first kind.

This output can return a double-precision, floating-point number or a complex double-precision, floating-point number.

Error information.

The node produces this output according to standard error behavior.

Standard Error Behavior

**error in** input and an **error out** output so that the node can respond to and communicate errors that occur while code is running. The value of **error in** specifies whether an error occurred before the node runs. Most nodes respond to values of **error in** in a standard, predictable way.

For the spherical Bessel function of the first kind of order **n**, **jn(x)** is a solution to the following differential equation.

${x}^{2}\frac{{d}^{2}w}{d{x}^{2}}+2x\frac{dw}{dx}+({x}^{2}-n(n+1))w=0$

The following equation shows the relationship of the spherical Bessel function of the first kind to the Bessel function of the first kind.

${j}_{n}\left(x\right)=\sqrt{\frac{\pi}{2x}}{J}_{v}\left(x\right),v=n+\frac{1}{2}$

The function is defined according to the following intervals for the input values.

$n\in \Im ,x\in [0,\infty )$

This node supports the entire domain of this function that produces real-valued results. For any integer value of order **n**, the function is defined for nonnegative real values of **x**.

**Where This Node Can Run: **

Desktop OS: Windows

FPGA: This product does not support FPGA devices

Web Server: Not supported in VIs that run in a web application