# scipy.special.yn_zeros

scipy.special.yn_zeros(n, nt)

  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
    n int

      Order of Bessel function

    nt int

      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])

scipy.special.jnp_zeros scipy.special.ynp_zeros