Internal
problem
ID
[13539]
Book
:
Differential
Equations
by
Shepley
L.
Ross.
Third
edition.
John
Willey.
New
Delhi.
2004.
Section
:
Chapter
7,
Systems
of
linear
differential
equations.
Section
7.1.
Exercises
page
277
Problem
number
:
7
Date
solved
:
Monday, March 31, 2025 at 08:00:46 AM
CAS
classification
:
system_of_ODEs
ode:=[diff(x(t),t)+diff(y(t),t)-x(t)-6*y(t) = exp(3*t), diff(x(t),t)+2*diff(y(t),t)-2*x(t)-6*y(t) = t]; dsolve(ode);
ode={D[x[t],t]+D[y[t],t]-x[t]-6*y[t]==Exp[3*t],D[x[t],t]+2*D[y[t],t]-2*x[t]-6*y[t]==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) - 6*y(t) - exp(3*t) + Derivative(x(t), t) + Derivative(y(t), t),0),Eq(-t - 2*x(t) - 6*y(t) + Derivative(x(t), t) + 2*Derivative(y(t), t),0)] ics = {} dsolve(ode,func=[x(t),y(t)],ics=ics)