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
1 view (last 30 days)
Show older comments
syms x
solve (1-cos(x)*cosh(x)+2*x*(sin(x)*cosh(x)-cos(x)*sinh(x)),x)
ans=
0
0 Comments
Accepted Answer
Andrei Bobrov
on 30 Jun 2017
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
2 Comments
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!