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