The following example show that the "vapsolve" can find multiple solutions for nonpolynomial equation.
syms x f = x-tan(x);for n = 1:3 vpasolve(f,x,'random',true) end
But I want to limit the range of variables, so I changed previous codes like this:
syms x f = x-tan(x);for n = 1:3 vpasolve(f,x,[0 100],'random',true) end
The results always produce the same results. How to solve this problem?
Best Answer