Internal
problem
ID
[4141]
Book
:
Theory
and
solutions
of
Ordinary
Differential
equations,
Donald
Greenspan,
1960
Section
:
Chapter
3.
Linear
differential
equations
of
second
order.
Exercises
at
page
31
Problem
number
:
9
Date
solved
:
Monday, January 27, 2025 at 08:39:57 AM
CAS
classification
:
[[_2nd_order, _linear, _nonhomogeneous]]
With initial conditions
✓ Solution by Maple
Time used: 0.069 (sec). Leaf size: 109
dsolve([diff(y(x),x$2)+2*n*diff(y(x),x)+n^2*y(x)=A*cos(p*x),y(0) = 9, D(y)(0) = 0],y(x), singsol=all)
✓ Solution by Mathematica
Time used: 0.046 (sec). Leaf size: 76
DSolve[{D[y[x],{x,2}]+2*n*D[y[x],x]+n^2*y[x]==A*Cos[p*x],{y[0]==0,Derivative[1][y][0] ==0}},y[x],x,IncludeSingularSolutions -> True]