Internal
problem
ID
[8185]
Book
:
Differential
Equations:
Theory,
Technique,
and
Practice
by
George
Simmons,
Steven
Krantz.
McGraw-Hill
NY.
2007.
1st
Edition.
Section
:
Chapter
10.
Systems
of
First-Order
Equations.
Section
10.2
Linear
Systems.
Page
380
Problem
number
:
3(c)
Date
solved
:
Sunday, March 30, 2025 at 12:47:53 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)