Internal
problem
ID
[8529]
Book
:
Elementary
differential
equations.
Rainville,
Bedient,
Bedient.
Prentice
Hall.
NJ.
8th
edition.
1997.
Section
:
CHAPTER
8.
Nonhomogeneous
Equations:
Undetermined
Coefficients.
Exercises
Page
142
Problem
number
:
1
Date
solved
:
Monday, January 27, 2025 at 04:09:38 PM
CAS
classification
:
[[_2nd_order, _linear, _nonhomogeneous]]
✓ Solution by Maple
Time used: 0.003 (sec). Leaf size: 20
dsolve(diff(y(x),x$2)+y(x)=-cos(x),y(x), singsol=all)
✓ Solution by Mathematica
Time used: 0.026 (sec). Leaf size: 27
DSolve[D[y[x],{x,2}]+y[x]==-Cos[x],y[x],x,IncludeSingularSolutions -> True]