SciPy

scipy.special.yn_zeros

scipy.special.yn_zeros(n, nt)[source]

Compute zeros of integer-order Bessel function Yn(x).

Compute nt zeros of the functions \(Y_n(x)\) on the interval \((0, \infty)\). The zeros are returned in ascending order.

Parameters
nint

Order of Bessel function

ntint

Number of zeros to return

Returns
ndarray

First n zeros of the Bessel function.

See also

yn, yv

References

1

Zhang, Shanjie and Jin, Jianming. “Computation of Special Functions”, John Wiley and Sons, 1996, chapter 5. https://people.sc.fsu.edu/~jburkardt/f_src/special_functions/special_functions.html

Examples

>>> import scipy.special as sc

We can check that we are getting approximations of the zeros by evaluating them with yn.

>>> n = 2
>>> x = sc.yn_zeros(n, 3)
>>> x
array([ 3.38424177,  6.79380751, 10.02347798])
>>> sc.yn(n, x)
array([-1.94289029e-16,  8.32667268e-17, -1.52655666e-16])

Previous topic

scipy.special.jnp_zeros

Next topic

scipy.special.ynp_zeros