Internal
problem
ID
[389]
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
:
8
Date
solved
:
Tuesday, March 04, 2025 at 11:16:53 AM
CAS
classification
:
[[_2nd_order, _linear, _nonhomogeneous]]
ode:=diff(diff(x(t),t),t)+3*diff(x(t),t)+5*x(t) = -4*cos(5*t); dsolve(ode,x(t), singsol=all);
ode=D[x[t],{t,2}]+3*D[x[t],t]+5*x[t]==-4*Cos[5*t]; ic={}; DSolve[{ode,ic},x[t],t,IncludeSingularSolutions->True]
from sympy import * t = symbols("t") x = Function("x") ode = Eq(5*x(t) + 4*cos(5*t) + 3*Derivative(x(t), t) + Derivative(x(t), (t, 2)),0) ics = {} dsolve(ode,func=x(t),ics=ics)