Internal
problem
ID
[4543]
Book
:
Differential
equations
for
engineers
by
Wei-Chau
XIE,
Cambridge
Press
2010
Section
:
Chapter
7.
Systems
of
linear
differential
equations.
Problems
at
page
351
Problem
number
:
7.11
Date
solved
:
Sunday, March 30, 2025 at 03:25:52 AM
CAS
classification
:
system_of_ODEs
ode:=[diff(x(t),t)-4*x(t)+3*y(t) = sin(t), -2*x(t)+diff(y(t),t)+y(t) = -2*cos(t)]; dsolve(ode);
ode={D[x[t],t]-4*x[t]+3*y[t]==Sin[t],-2*x[t]+D[y[t],t]+y[t]==-2*Cos[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(-4*x(t) + 3*y(t) - sin(t) + Derivative(x(t), t),0),Eq(-2*x(t) + y(t) + 2*cos(t) + Derivative(y(t), t),0)] ics = {} dsolve(ode,func=[x(t),y(t)],ics=ics)