i want mathlab programme for solving linear differential equation as metioned below
2 views (last 30 days)
Show older comments
dx1/dt= k3*x3-k1*x1+ 10, dx2/dt= k1*x1-k2*x2, dx3/dt= k2*x2-k3*x3
0 Comments
Answers (1)
Dyuman Joshi
on 23 May 2022
syms x1(t) x2(t) x3(t) k1 k2 k3
ode1 = diff(x1)==k3*x3-k1*x1+10;
ode2 = diff(x2)==k1*x1-k2*x2;
ode3 = diff(x3)==k2*x2-k3*x3;
dsolve([ode1 ode2 ode3])
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!