Yn
Description
This function returns the nth order Bessel function of the second kind and has the following form:
Yn(x, n)
The formula for the equation is:
\[Y_n(x,n)=\lim_{v \rightarrow n} Y_n(v, n) \]
where
\[Y_n(v,n)=\frac{J_{n}(x,v)\cos(v\pi)-J_{n}(x,-v)}{sin(v\pi)}\]
Syntax
double yn(double x, int n)
Parameter
x
- the input parameter.
n
- the order of the Bessel function of second kind.
Return
Returns the nth order Bessel function of second kind at x.
Example
aa = yn(5,3); aa = ; //0.14626716269319