Internal
problem
ID
[17659]
Book
:
Differential
equations.
An
introduction
to
modern
methods
and
applications.
James
Brannan,
William
E.
Boyce.
Third
edition.
Wiley
2015
Section
:
Chapter
4.
Second
order
linear
equations.
Section
4.5
(Nonhomogeneous
Equations,
Method
of
Undetermined
Coefficients).
Problems
at
page
260
Problem
number
:
19
Date
solved
:
Tuesday, January 28, 2025 at 10:48:19 AM
CAS
classification
:
[[_2nd_order, _linear, _nonhomogeneous]]
With initial conditions
✓ Solution by Maple
Time used: 0.026 (sec). Leaf size: 18
dsolve([diff(y(t),t$2)-2*diff(y(t),t)+y(t)=t*exp(t)+4,y(0) = 1, D(y)(0) = 1],y(t), singsol=all)
✓ Solution by Mathematica
Time used: 0.250 (sec). Leaf size: 23
DSolve[{D[y[t],{t,2}]-2*D[y[t],t]+y[t]==t*Exp[t]+4,{y[0]==1,Derivative[1][y][0] ==1}},y[t],t,IncludeSingularSolutions -> True]