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)
syms x
solve (1-cos(x)*cosh(x)+2*x*(sin(x)*cosh(x)-cos(x)*sinh(x)),x)
ans=
0

Accepted Answer

Andrei Bobrov
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
ebrahimina
ebrahimina on 30 Jun 2017
Edited: ebrahimina on 30 Jun 2017
Do you know any commands or functions in MATLAB for solving a transcendental equation like this? or I have to write a program for solving this equation? beta1 and beta2 are constant.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!