Internal
problem
ID
[2607]
Book
:
Differential
equations
and
their
applications,
4th
ed.,
M.
Braun
Section
:
Chapter
2.
Second
order
differential
equations.
Section
2.5.
Method
of
judicious
guessing.
Excercises
page
164
Problem
number
:
14
Date
solved
:
Sunday, March 30, 2025 at 12:11:25 AM
CAS
classification
:
[[_2nd_order, _missing_y]]
ode:=diff(diff(y(t),t),t)+2*diff(y(t),t) = 1+t^2+exp(-2*t); dsolve(ode,y(t), singsol=all);
ode=D[y[t],{t,2}]+2*D[y[t],t]==1+t^2+Exp[-2*t]; ic={}; DSolve[{ode,ic},y[t],t,IncludeSingularSolutions->True]
from sympy import * t = symbols("t") y = Function("y") ode = Eq(-t**2 + 2*Derivative(y(t), t) + Derivative(y(t), (t, 2)) - 1 - exp(-2*t),0) ics = {} dsolve(ode,func=y(t),ics=ics)