Internal
problem
ID
[595]
Book
:
Elementary
Differential
Equations.
By
C.
Henry
Edwards,
David
E.
Penney
and
David
Calvis.
6th
edition.
2008
Section
:
Chapter
5.
Linear
systems
of
differential
equations.
Section
5.2
(Applications).
Problems
at
page
345
Problem
number
:
9
Date
solved
:
Tuesday, March 04, 2025 at 11:27:25 AM
CAS
classification
:
system_of_ODEs
ode:=[diff(x(t),t) = 2*x(t)-3*y(t)+2*sin(2*t), diff(y(t),t) = x(t)-2*y(t)-cos(2*t)]; dsolve(ode);
ode={D[x[t],t]==2*x[t]-3*y[t]+2*Sin[2*t],D[y[t],t]==x[t]-2*y[t]-Cos[2*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(-2*x(t) + 3*y(t) - 2*sin(2*t) + Derivative(x(t), t),0),Eq(-x(t) + 2*y(t) + cos(2*t) + Derivative(y(t), t),0)] ics = {} dsolve(ode,func=[x(t),y(t)],ics=ics)