Internal
problem
ID
[14268]
Book
:
DIFFERENTIAL
and
INTEGRAL
CALCULUS.
VOL
I.
by
N.
PISKUNOV.
MIR
PUBLISHERS,
Moscow
1969.
Section
:
Chapter
8.
Differential
equations.
Exercises
page
595
Problem
number
:
163
Date
solved
:
Tuesday, January 28, 2025 at 06:25:02 AM
CAS
classification
:
[[_2nd_order, _linear, _nonhomogeneous]]
With initial conditions
✓ Solution by Maple
Time used: 0.056 (sec). Leaf size: 61
dsolve([diff(y(x),x$2)+n^2*y(x)=h*sin(r*x),y(0) = a, D(y)(0) = c],y(x), singsol=all)
✓ Solution by Mathematica
Time used: 0.029 (sec). Leaf size: 63
DSolve[{D[y[x],{x,2}]+n^2*y[x]==h*Sin[r*x],{y[0]==a,Derivative[1][y][0] ==c}},y[x],x,IncludeSingularSolutions -> True]