Empty sym: 0-by-1

3 views (last 30 days)
민영
민영 on 6 Jul 2022
Commented: Walter Roberson on 6 Jul 2022
I want to change C*m*(Co-Ci) = U*A*((Hi-Ci)-(Ho-Co))/log((Hi-Ci)/(Ho-Co)) to Co = ~~~~~
but The following error occurs. I spent over a week
If I input a number, the result comes out, but why doesn't the result come out when I enter a variable?
syms C m Co Ci Hi Ho U A
eqn = C*m*(Co-Ci) == U*A*((Hi-Ci)-(Ho-Co))/log((Hi-Ci)/(Ho-Co))
eqn = 
S=solve(eqn,Ci,"Real",true)
Warning: Unable to find explicit solution. For options, see help.
S = Empty sym: 0-by-1
  1 Comment
Walter Roberson
Walter Roberson on 6 Jul 2022
What leads you to expect that a closed-form solution exists?

Sign in to comment.

Answers (0)

Categories

Find more on Symbolic Math Toolbox in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!