[SciPy-user] Roots of Bessel

Travis Oliphant oliphant at ee.byu.edu
Fri Aug 22 12:07:06 EDT 2003


ferrell at diablotech.com wrote:
> Travis E. Oliphant writes:
>  > 
>  > Robert Ferrell wrote:
>  > > What is a good way (in SciPy) to find (some of) the roots of J0 (Bessel
>  > > function of first kind)?
>  > 
>  >  >>> info(special.jn_zeros)
>  >   jn_zeros(n, nt)
>  > 
>  > Compute nt zeros of the Bessel function Jn(x).
>  > 
>  > So to find the first 10 zeros, enter:
>  > 
>  >  >>> special.jn_zeros(0,10)
>  > array([  2.4048,   5.5201,   8.6537,  11.7915,  14.9309,  18.0711,
>  > 21.2116, 24.3525,  27.4935,  30.6346])
> 
> Thanks.  I thought I had seen this at one time, but couldn't recall
> how to find it.  

 >>> info(special)

or

 >>> help(special)

will give you a list of most of the functions in that modulue

-Travis O.






More information about the SciPy-User mailing list