MATLAB: I solve this equation and only get one answer zero. how can I find more answers for x ? For example some other answers are 3.9887 ; 7.1025 ; 10.2340; 13.3701 . Thanks

#trigonometric equation

syms x
solve (1-cos(x)*cosh(x)+2*x*(sin(x)*cosh(x)-cos(x)*sinh(x)),x)
ans=
0

Best Answer

F = @(x)1-cos(x)*cosh(x)+2*x*(sin(x)*cosh(x)-cos(x)*sinh(x));
x = (0:100)*pi;
for ii = numel(x)-1:-1:1
r(ii,1) = fzero(F,[x(ii),x(ii+1)]);
end