Internal
problem
ID
[14528]
Book
:
Ordinary
Differential
Equations
by
Charles
E.
Roberts,
Jr.
CRC
Press.
2010
Section
:
Chapter
10.
Applications
of
Systems
of
Equations.
Exercises
10.2
page
432
Problem
number
:
7
Date
solved
:
Monday, March 31, 2025 at 12:29:36 PM
CAS
classification
:
system_of_ODEs
ode:=[diff(x(t),t) = -5*x(t)-y(t)+2, diff(y(t),t) = 3*x(t)-y(t)-3]; dsolve(ode);
ode={D[x[t],t]==-5*x[t]-y[t]+2,D[y[t],t]==3*x[t]-1*y[t]-3}; ic={}; 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) + y(t) + Derivative(x(t), t) - 2,0),Eq(-3*x(t) + y(t) + Derivative(y(t), t) + 3,0)] ics = {} dsolve(ode,func=[x(t),y(t)],ics=ics)