Regarding solving an equation
Infos
Cette question est clôturée. Rouvrir pour modifier ou répondre.
Afficher commentaires plus anciens
I have done a program in MATLAB to solve an equation as mentioned below,
r1 = 0.7
r2 = 0.704
r3 = 0.825
r4 = 0.833
ki = 13.8564
Ri = r1*log(r2/r1)/ki
kins = 0.0006
Rins = r1*log(r3/r2)/kins
ko = 39.8397
Ro = r1*log(r4/r3)/ko
ho = 10
Rco = (r1/r4)*1/ho
U1 = 1 /(Ri+Rins+Ro+Rco)
R1 = 1/U1
Ti = 77
To = 313
delTt = To - Ti
phi = solve('R1*x + 0.033165331*x^0.8 -delTt')
phi1 = real(phi)
Problem is that I am not getting its solution but if I seperate the program and put the value of R1 and delTt then I am getting the answer. so, please clarify me that, why I am not getting the answer with this current program ?
Réponses (1)
Thomas
le 20 Juin 2012
try the equation as
syms x
phi = solve(R1*x + 0.033165331*x^0.8 -delTt) %without '...'
phi1 = real(phi)
3 commentaires
Walter Roberson
le 20 Juin 2012
You would need to add
syms x
above that.
Thomas
le 20 Juin 2012
Thanks Walter.. edited my answer above.. had it on command line line.. didn't transfer it here..
Shripad
le 22 Juin 2012
Cette question est clôturée.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!