Internal
problem
ID
[2404]
Book
:
Differential
equations
and
their
applications,
3rd
ed.,
M.
Braun
Section
:
Section
2.4,
The
method
of
variation
of
parameters.
Page
154
Problem
number
:
3
Date
solved
:
Tuesday, September 30, 2025 at 05:35:25 AM
CAS
classification
:
[[_2nd_order, _linear, _nonhomogeneous]]
ode:=2*diff(diff(y(t),t),t)-3*diff(y(t),t)+y(t) = (t^2+1)*exp(t); dsolve(ode,y(t), singsol=all);
ode=2*D[y[t],{t,2}]-3*D[y[t],t]+y[t]==(t^2+1)*Exp[t]; ic={}; DSolve[{ode,ic},y[t],t,IncludeSingularSolutions->True]
from sympy import * t = symbols("t") y = Function("y") ode = Eq((-t**2 - 1)*exp(t) + y(t) - 3*Derivative(y(t), t) + 2*Derivative(y(t), (t, 2)),0) ics = {} dsolve(ode,func=y(t),ics=ics)