Internal
problem
ID
[13555]
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
:
23
Date
solved
:
Monday, March 31, 2025 at 08:01:12 AM
CAS
classification
:
system_of_ODEs
With initial conditions
ode:=[diff(x(t),t) = -2*x(t)+7*y(t), diff(y(t),t) = 3*x(t)+2*y(t)]; ic:=x(0) = 9y(0) = -1; dsolve([ode,ic]);
ode={D[x[t],t]==-2*x[t]+7*y[t],D[y[t],t]==3*x[t]+2*y[t]}; ic={x[0]==9,y[0]==-1}; 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) - 7*y(t) + Derivative(x(t), t),0),Eq(-3*x(t) - 2*y(t) + Derivative(y(t), t),0)] ics = {} dsolve(ode,func=[x(t),y(t)],ics=ics)