solve returns Empty sym: 0-by-1 answer
34 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
syms h
Tcz=20
To=533.3
k=155
rho=2680
c=963
a=k/(rho*c)
E2=73.1==To+(Tcz-To)*(1-exp((h*h*a*90)/(k*k))*(1-erf((h/k)*(sqrt(a*90)))))
assume(h>0)
[htc]=solve(E2,h)
the code returns
htc=
Empty sym: 0-by-1
0 Kommentare
Antworten (1)
Pavan Guntha
am 19 Nov. 2021
Hi,
The solve function returns an empty object if there isn't any solution to the equation. For instance if the equation is changed as shown below,
E2 = 730 == To+(Tcz-To)*(1-exp((h*h*a*90)/(k*k))*(1-erf((h/k)*(sqrt(a*90)))))
It returns the following solution:
htc =
-555.33097392244426184617865401959
Hope it helps!
0 Kommentare
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!