Internal
problem
ID
[4547]
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.15
Date
solved
:
Sunday, March 30, 2025 at 03:25:59 AM
CAS
classification
:
system_of_ODEs
ode:=[3*diff(x(t),t)+2*x(t)+diff(y(t),t)-6*y(t) = 5*exp(t), 4*diff(x(t),t)+2*x(t)+diff(y(t),t)-8*y(t) = 5*exp(t)+2*t-3]; dsolve(ode);
ode={3*D[x[t],t]+2*x[t]+D[y[t],t]-6*y[t]==5*Exp[t],4*D[x[t],t]+2*x[t]+D[y[t],t]-8*y[t]==5*Exp[t]+2*t-3}; 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) - 6*y(t) - 5*exp(t) + 3*Derivative(x(t), t) + Derivative(y(t), t),0),Eq(-2*t + 2*x(t) - 8*y(t) - 5*exp(t) + 4*Derivative(x(t), t) + Derivative(y(t), t) + 3,0)] ics = {} dsolve(ode,func=[x(t),y(t)],ics=ics)