Internal
problem
ID
[397]
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
:
16
Date
solved
:
Saturday, March 29, 2025 at 04:52:45 PM
CAS
classification
:
[[_2nd_order, _linear, _nonhomogeneous]]
ode:=diff(diff(x(t),t),t)+4*diff(x(t),t)+5*x(t) = 10*cos(omega*t); dsolve(ode,x(t), singsol=all);
ode=D[x[t],{t,2}]+4*D[x[t],t]+5*x[t]==10*Cos[w*t]; ic={}; DSolve[{ode,ic},x[t],t,IncludeSingularSolutions->True]
from sympy import * t = symbols("t") omega = symbols("omega") x = Function("x") ode = Eq(5*x(t) - 10*cos(omega*t) + 4*Derivative(x(t), t) + Derivative(x(t), (t, 2)),0) ics = {} dsolve(ode,func=x(t),ics=ics)