how to solve 5 equations with 5 unknowns.

36 次查看(过去 30 天)
Euqaitons are below.
T=300+200x
-r=0.1*k*(1-x-(x/K_c))
2500=x/(-r)
ln(k/0.01)=5033*((1/300)-(1/T))
K_c=10*exp(3020*((1/450)-(1/T))
there are 5 unknown(T, x, -r, k, K_C)
Please help me determine them

采纳的回答

Star Strider
Star Strider 2021-1-25
Use the Symbolic Math Toolbox:
syms T x r k K_c
Eq1 = T==300+200*x
Eq2 = -r==0.1*k*(1-x-(x/K_c))
Eq3 = 2500==x/(-r)
Eq4 = log(k/0.01)==5033*((1/300)-(1/T));
Eq5 = K_c==10*exp(3020*((1/450)-(1/T)));
S = solve([Eq1,Eq2,Eq3,Eq4,Eq5])
K_c = S.K_c
T = S.T
k = S.k
r = S.r
x = S.x
producing:
K_c =
17.035850243008982963302938775977
T =
488.80156878875638115282331218132
k =
6.5200672012411590417154405645886
r =
-0.00037760313757751276230564662436265
x =
0.94400784394378190576411656090662
.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Symbolic Math Toolbox 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by