Internal
problem
ID
[13556]
Book
:
Differential
Equations
by
Shepley
L.
Ross.
Third
edition.
John
Willey.
New
Delhi.
2004.
Section
:
Chapter
7,
Systems
of
linear
differential
equations.
Section
7.4.
Exercises
page
309
Problem
number
:
24
Date
solved
:
Monday, March 31, 2025 at 08:01:13 AM
CAS
classification
:
system_of_ODEs
With initial conditions
ode:=[diff(x(t),t) = -2*x(t)+y(t), diff(y(t),t) = 7*x(t)+4*y(t)]; ic:=x(0) = 6y(0) = 2; dsolve([ode,ic]);
ode={D[x[t],t]==-2*x[t]+y[t],D[y[t],t]==7*x[t]+4*y[t]}; ic={x[0]==6,y[0]==2}; DSolve[{ode,ic},{x[t],y[t]},t,IncludeSingularSolutions->True]
from sympy import * t = symbols("t") x = Function("x") y = Function("y") ode=[Eq(2*x(t) - y(t) + Derivative(x(t), t),0),Eq(-7*x(t) - 4*y(t) + Derivative(y(t), t),0)] ics = {} dsolve(ode,func=[x(t),y(t)],ics=ics)