Internal
problem
ID
[1240]
Book
:
Elementary
differential
equations
and
boundary
value
problems,
10th
ed.,
Boyce
and
DiPrima
Section
:
Miscellaneous
problems,
end
of
chapter
2.
Page
133
Problem
number
:
23
Date
solved
:
Saturday, March 29, 2025 at 10:49:38 PM
CAS
classification
:
[_linear]
ode:=(t+1)*y(t)+t*diff(y(t),t) = exp(2*t); dsolve(ode,y(t), singsol=all);
ode=(1+t)*y[t]+t*D[y[t],t] == Exp[2*t]; ic={}; DSolve[{ode,ic},y[t],t,IncludeSingularSolutions->True]
from sympy import * t = symbols("t") y = Function("y") ode = Eq(t*Derivative(y(t), t) + (t + 1)*y(t) - exp(2*t),0) ics = {} dsolve(ode,func=y(t),ics=ics)