I am trying to find the roots of the transcendental equation, for that, I have used NSolve function, but when I search for roots of b between 0 to 20, it will produce empty list, If I change the search range to 0 to 10 instead of 0 to 20, I am getting some roots. I am interested in finding the first four roots of the transcendental equation P. How to achieve this? I have plotted my transcendental functions it seems there are so many roots, now I don't know which is my first root. I am interested in extracting first four roots.
P = -4 b^7 (2 K1 Cosh[b L] Sin[b L] Sinh[b z1]^2 +
Sinh[b L] (-K1 Cos[b L] + K1 Cos[b (L - 2 z1)] + 4 b^3 Sin[b L] -
K1 Sin[b L] Sinh[2 b z1]));
K1 = 1*^12;
z1 = 1/3;
L = 1;
Plot[P, {b, 0, 20}]
NSolve[P == 0 && 0 < b < 20]
when I search for roots of b between 0 to 20, it will produce empty listit works OK for me, using V12. screen shot.NSolvegives none, in M11.1 it gives one, and in M11.2 and later it finds all 5. This looks like a bug in earlier versions. As a workaround, I suggest you usePlotto identify the approximate locations and useFindRootto get an accurate estimate. – Szabolcs Sep 13 '19 at 06:53NSolve[]is not working, and you are constrained to earlier versions, try the methods in this question. – J. M.'s missing motivation Sep 15 '19 at 10:17