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 ]

Risposte (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 Commento

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{:});

Questa domanda è chiusa.

Richiesto:

IIQ
il 4 Mag 2013

Chiuso:

il 20 Ago 2021

Community Treasure Hunt

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

Start Hunting!

Translated by