Internal
problem
ID
[13489]
Book
:
Differential
Equations
by
Shepley
L.
Ross.
Third
edition.
John
Willey.
New
Delhi.
2004.
Section
:
Chapter
4,
Section
4.3.
The
method
of
undetermined
coefficients.
Exercises
page
151
Problem
number
:
39
Date
solved
:
Tuesday, January 28, 2025 at 05:45:45 AM
CAS
classification
:
[[_3rd_order, _linear, _nonhomogeneous]]
With initial conditions
✓ Solution by Maple
Time used: 0.034 (sec). Leaf size: 30
dsolve([diff(y(x),x$3)-4*diff(y(x),x$2)+diff(y(x),x)+6*y(x)=3*x*exp(x)+2*exp(x)-sin(x),y(0) = 33/40, D(y)(0) = 0, (D@@2)(y)(0) = 0],y(x), singsol=all)
✓ Solution by Mathematica
Time used: 0.219 (sec). Leaf size: 260
DSolve[{D[y[x],{x,3}]-4*D[y[x],{x,2}]+D[y[x],x]+6*y[x]==3*x*Exp[x]+2*Exp[x]-Sin[x],{y[0]==33/40,Derivative[1][y][0] ==0,Derivative[2][y][0] ==0}},y[x],x,IncludeSingularSolutions -> True]