find a numerical root of this function on the interval $[a,b]$. The numerical method is likely to have problems with discontinuities of $\tan x$, so it is best to pick intervals between $\pi/2+\pi n$. For example,
find_root(tan(x)-x/10, pi/2, pi/2+pi)
returns 3.47614030869725,
find_root(tan(x)-x/10, pi/2+pi, pi/2+2*pi)
returns 6.886235172066371, and so on. You can write a for loop to produce a bunch of those.
According to Sage docs:
find a numerical root of this function on the interval $[a,b]$. The numerical method is likely to have problems with discontinuities of $\tan x$, so it is best to pick intervals between $\pi/2+\pi n$. For example,
returns
3.47614030869725,returns
6.886235172066371, and so on. You can write aforloop to produce a bunch of those.