Internal
problem
ID
[913]
Book
:
Differential
equations
and
linear
algebra,
3rd
ed.,
Edwards
and
Penney
Section
:
Section
5.6,
Forced
Oscillations
and
Resonance.
Page
362
Problem
number
:
7
Date
solved
:
Tuesday, March 04, 2025 at 12:02:17 PM
CAS
classification
:
[[_2nd_order, _linear, _nonhomogeneous]]
ode:=diff(diff(x(t),t),t)+4*diff(x(t),t)+4*x(t) = 10*cos(3*t); dsolve(ode,x(t), singsol=all);
ode=D[x[t],{t,2}]+4*D[x[t],t]+4*x[t]==10*Cos[3*t]; ic={}; DSolve[{ode,ic},x[t],t,IncludeSingularSolutions->True]
from sympy import * t = symbols("t") x = Function("x") ode = Eq(4*x(t) - 10*cos(3*t) + 4*Derivative(x(t), t) + Derivative(x(t), (t, 2)),0) ics = {} dsolve(ode,func=x(t),ics=ics)