Internal
problem
ID
[3484]
Book
:
Mathematical
methods
for
physics
and
engineering,
Riley,
Hobson,
Bence,
second
edition,
2002
Section
:
Chapter
15,
Higher
order
ordinary
differential
equations.
15.4
Exercises,
page
523
Problem
number
:
Problem
15.1
Date
solved
:
Monday, January 27, 2025 at 07:39:15 AM
CAS
classification
:
[[_2nd_order, _linear, _nonhomogeneous]]
With initial conditions
✓ Solution by Maple
Time used: 0.028 (sec). Leaf size: 28
dsolve([diff(x(t),t$2)+ (omega__0)^2*x(t)=a*cos(omega*t),x(0) = 0, D(x)(0) = 0],x(t), singsol=all)
✓ Solution by Mathematica
Time used: 0.336 (sec). Leaf size: 33
DSolve[{D[x[t],{t,2}]+(Subscript[\[Omega],0])^2*x[t]==a*Cos[\[Omega]*t],{x[0]==0,Derivative[1][x][0 ]==0}},x[t],t,IncludeSingularSolutions -> True]