I need to solve four differential equation with four unknown variable simltaneously . how can i do that in matlab?

1 回表示 (過去 30 日間)
four differential equation are:-
dA/dt = 3*(K4*B - K3*A^2*D^3 )+constant
dB/dt = K3*A^2*D^3 - K4*B
dC/dt = K1*D^n - K2*C
dD/dt = K1*D^n + K2*C + 2*(K4*B - K3*A^2*D^3)
4 unknown variable = A,B,C,D
and all K and n are constant.
initial condition :- A(t=0) = 0; B(t=0) = 0; C(t=0) = 0; D(t=0) = 12;
time range (0 to 48 hrs)
time interval = 1hrs
i need a graph of A,B,C,d with time .
  1 件のコメント
Walter Roberson
Walter Roberson 2019 年 7 月 26 日
You need to define what it means to "optimize" those things.
Is the +constant a known constant?

サインインしてコメントする。

回答 (2 件)

Star Strider
Star Strider 2019 年 7 月 26 日

Matt J
Matt J 2019 年 7 月 26 日
In all likelihood, your problem description is incomplete. As written currently, the problem has the trivial solution,
K1=K2=K3=K4=n=0
A(t)=12
B(t)=0
C(t)=0
D(t)=t*constant

カテゴリ

Help Center および File ExchangeEnergy Production についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by