solve returns Empty sym: 0-by-1 answer

조회 수: 36 (최근 30일)
José Miguel Rivera Navarrete
José Miguel Rivera Navarrete 2021년 11월 16일
답변: Pavan Guntha 2021년 11월 19일
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

답변 (1개)

Pavan Guntha
Pavan Guntha 2021년 11월 19일
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
For more information, you could look at the documentation page of solve.
Hope it helps!

카테고리

Help CenterFile Exchange에서 Number Theory에 대해 자세히 알아보기

제품


릴리스

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by