Internal
problem
ID
[3138]
Book
:
Differential
Equations
by
Alfred
L.
Nelson,
Karl
W.
Folley,
Max
Coral.
3rd
ed.
DC
heath.
Boston.
1964
Section
:
Exercise
19,
page
86
Problem
number
:
28
Date
solved
:
Monday, January 27, 2025 at 07:23:10 AM
CAS
classification
:
[[_2nd_order, _linear, _nonhomogeneous]]
With initial conditions
✓ Solution by Maple
Time used: 0.017 (sec). Leaf size: 25
dsolve([diff(y(x),x$2)+4*y(x)=12*cos(x)^2,y(1/2*Pi) = 0, D(y)(1/2*Pi) = 1/2*Pi],y(x), singsol=all)
✓ Solution by Mathematica
Time used: 0.032 (sec). Leaf size: 23
DSolve[{D[y[x],{x,2}]+4*y[x]==12*Cos[x]^2,{y[Pi/2]==0,Derivative[1][y][Pi/2]==Pi/2}},y[x],x,IncludeSingularSolutions -> True]