Internal
problem
ID
[14526]
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
:
5
Date
solved
:
Monday, March 31, 2025 at 12:29:34 PM
CAS
classification
:
system_of_ODEs
ode:=[diff(x(t),t) = -x(t)+2*y(t), diff(y(t),t) = -2*x(t)-y(t)]; dsolve(ode);
ode={D[x[t],t]==-x[t]+2*y[t],D[y[t],t]==-2*x[t]-1*y[t]}; 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(x(t) - 2*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)