Internal
problem
ID
[393]
Book
:
Elementary
Differential
Equations.
By
C.
Henry
Edwards,
David
E.
Penney
and
David
Calvis.
6th
edition.
2008
Section
:
Chapter
2.
Linear
Equations
of
Higher
Order.
Section
2.6
(Forced
oscillations
and
resonance).
Problems
at
page
171
Problem
number
:
12
Date
solved
:
Tuesday, September 30, 2025 at 03:58:17 AM
CAS
classification
:
[[_2nd_order, _linear, _nonhomogeneous]]
With initial conditions
ode:=diff(diff(x(t),t),t)+6*diff(x(t),t)+13*x(t) = 10*sin(5*t); ic:=[x(0) = 0, D(x)(0) = 0]; dsolve([ode,op(ic)],x(t), singsol=all);
ode=D[x[t],{t,2}]+6*D[x[t],t]+13*x[t]==10*Sin[5*t]; ic={x[0]==0,Derivative[1][x][0] ==0}; DSolve[{ode,ic},x[t],t,IncludeSingularSolutions->True]
from sympy import * t = symbols("t") x = Function("x") ode = Eq(13*x(t) - 10*sin(5*t) + 6*Derivative(x(t), t) + Derivative(x(t), (t, 2)),0) ics = {x(0): 0, Subs(Derivative(x(t), t), t, 0): 0} dsolve(ode,func=x(t),ics=ics)