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