Internal
problem
ID
[8052]
Book
:
Differential
Equations:
Theory,
Technique,
and
Practice
by
George
Simmons,
Steven
Krantz.
McGraw-Hill
NY.
2007.
1st
Edition.
Section
:
Chapter
2.
Problems
for
Review
and
Discovery.
Drill
excercises.
Page
105
Problem
number
:
2(f)
Date
solved
:
Monday, January 27, 2025 at 03:39:56 PM
CAS
classification
:
[[_2nd_order, _linear, _nonhomogeneous]]
With initial conditions
✓ Solution by Maple
Time used: 0.928 (sec). Leaf size: 57
dsolve([diff(y(x),x$2)-y(x)=cos(x),y(0) = 3, D(y)(2) = 2],y(x), singsol=all)
✓ Solution by Mathematica
Time used: 0.031 (sec). Leaf size: 67
DSolve[{D[y[x],{x,2}]-y[x]==Cos[x],{y[0]==3,Derivative[1][y][2]==2}},y[x],x,IncludeSingularSolutions -> True]