Internal
problem
ID
[3239]
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
:
3
Date
solved
:
Sunday, March 30, 2025 at 01:23:34 AM
CAS
classification
:
system_of_ODEs
ode:=[diff(x(t),t)+2*x(t) = 3*t, diff(x(t),t)+2*diff(y(t),t)+y(t) = cos(2*t)]; dsolve(ode);
ode={D[x[t],t]+2*x[t]==3*t,D[x[t],t]+2*D[y[t],t]+y[t]==Cos[2*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(-3*t + 2*x(t) + Derivative(x(t), t),0),Eq(y(t) - cos(2*t) + Derivative(x(t), t) + 2*Derivative(y(t), t),0)] ics = {} dsolve(ode,func=[x(t),y(t)],ics=ics)