Internal
problem
ID
[8050]
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(d)
Date
solved
:
Monday, January 27, 2025 at 03:38:37 PM
CAS
classification
:
[[_2nd_order, _linear, _nonhomogeneous]]
With initial conditions
✓ Solution by Maple
Time used: 0.306 (sec). Leaf size: 83
dsolve([diff(y(x),x$2)+3*diff(y(x),x)+4*y(x)=sin(x),y(1/2*Pi) = 1, D(y)(1/2*Pi) = -1],y(x), singsol=all)
✓ Solution by Mathematica
Time used: 1.217 (sec). Leaf size: 79
DSolve[{D[y[x],{x,2}]+3*D[y[x],x]+4*y[x]==Sin[x],{y[Pi/2]==1,Derivative[1][y][Pi/2]==-1}},y[x],x,IncludeSingularSolutions -> True]