how can i solve an equation using the command solve?

i try to solve this equation:
(Ha*((Ei - E)/(Ei - 1))^(.5)) / (tanh (Ha*((Ei - E)/(Ei - 1))^(.5))) = E
where,
Ha = 0.0035;
Ei = 608.1453;
and i recibed this answer in the command:
Warning: Explicit solution could not be found.
> In solve at 81
E =
[ empty sym ]

Answers (1)

syms E ;
Ha = 0.0035;
Ei = 608.1453;
s=solve((Ha*((Ei - E)/(Ei - 1))^(.5)) / (tanh (Ha*((Ei - E)/(Ei - 1))^(.5)))==E)

1 Comment

tante grazie Azzi
i run your sentences, but i get this error message:
??? Error using ==> char Conversion to char from logical is not possible.
Error in ==> solve>getEqns at 169 vc = char(v);
Error in ==> solve at 67 [eqns,vars] = getEqns(varargin{:});

This question is closed.

Asked:

IIQ
on 4 May 2013

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!