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 ]

回答(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 个评论

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

此问题已关闭。

提问:

IIQ
2013-5-4

关闭:

2021-8-20

Community Treasure Hunt

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

Start Hunting!

Translated by