Python Forum

Full Version: Next zero of a function on sympy
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
On Sympy I need to find a sequence of roots (zeros) of a Bessel functions combination. So I need a function that returns the next zero of a function. Ex.: If my function is f=sin(x), and I indicate the reference point (x0) equals zero, the function returns me pi; if I indicate pi, the function returns me 2*pi...