Internal
problem
ID
[12940]
Book
:
An
elementary
treatise
on
differential
equations
by
Abraham
Cohen.
DC
heath
publishers.
1906
Section
:
Chapter
VII,
Linear
differential
equations
with
constant
coefficients.
Article
50.
Method
of
undetermined
coefficients.
Page
107
Problem
number
:
Ex
2
Date
solved
:
Tuesday, January 28, 2025 at 04:44:36 AM
CAS
classification
:
[[_2nd_order, _linear, _nonhomogeneous]]
✓ Solution by Maple
Time used: 0.004 (sec). Leaf size: 35
dsolve(diff(y(x),x$2)-2*diff(y(x),x)+y(x)=2*x*exp(2*x)-sin(x)^2,y(x), singsol=all)
✓ Solution by Mathematica
Time used: 0.524 (sec). Leaf size: 83
DSolve[D[y[x],{x,2}]-2*D[y[x],x]+y[x]==2*x*Exp[2*x]-Sin[x]^2,y[x],x,IncludeSingularSolutions -> True]