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 ]

Respuestas (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 comentario

IIQ
IIQ el 4 de Mayo de 2013
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{:});

La pregunta está cerrada.

Preguntada:

IIQ
el 4 de Mayo de 2013

Cerrada:

el 20 de Ag. de 2021

Community Treasure Hunt

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

Start Hunting!

Translated by