i want mathlab programme for solving linear differential equation as metioned below
Show older comments
dx1/dt= k3*x3-k1*x1+ 10, dx2/dt= k1*x1-k2*x2, dx3/dt= k2*x2-k3*x3
Answers (1)
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])
Categories
Find more on Numerical Integration and Differential Equations in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!