Internal
problem
ID
[3240]
Book
:
Differential
Equations
by
Alfred
L.
Nelson,
Karl
W.
Folley,
Max
Coral.
3rd
ed.
DC
heath.
Boston.
1964
Section
:
Exercise
26,
page
115
Problem
number
:
4
Date
solved
:
Sunday, March 30, 2025 at 01:23:36 AM
CAS
classification
:
system_of_ODEs
ode:=[diff(x(t),t)-x(t)+y(t) = 2*sin(t), diff(x(t),t)+diff(y(t),t) = 3*y(t)-3*x(t)]; dsolve(ode);
ode={D[x[t],t]-x[t]+y[t]==2*Sin[t],D[x[t],t]+D[y[t],t]==3*y[t]-3*x[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) + y(t) - 2*sin(t) + Derivative(x(t), t),0),Eq(3*x(t) - 3*y(t) + Derivative(x(t), t) + Derivative(y(t), t),0)] ics = {} dsolve(ode,func=[x(t),y(t)],ics=ics)