Internal
problem
ID
[18397]
Book
:
DIFFERENTIAL
EQUATIONS
WITH
APPLICATIONS
AND
HISTORICAL
NOTES
by
George
F.
Simmons.
3rd
edition.
2017.
CRC
press,
Boca
Raton
FL.
Section
:
Chapter
10.
Systems
of
First
Order
Equations.
Section
55.
Linear
systems.
Problems
at
page
496
Problem
number
:
6
(c)
Date
solved
:
Monday, March 31, 2025 at 05:27:20 PM
CAS
classification
:
system_of_ODEs
ode:=[diff(x(t),t) = x(t)+2*y(t)+t-1, diff(y(t),t) = 3*x(t)+2*y(t)-5*t-2]; dsolve(ode);
ode={D[x[t],t]==x[t]+2*y[t]+t-1,D[y[t],t]==3*x[t]+2*y[t]-5*t-2}; 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(-t - x(t) - 2*y(t) + Derivative(x(t), t) + 1,0),Eq(5*t - 3*x(t) - 2*y(t) + Derivative(y(t), t) + 2,0)] ics = {} dsolve(ode,func=[x(t),y(t)],ics=ics)