Internal
problem
ID
[13859]
Book
:
Differential
equations
and
the
calculus
of
variations
by
L.
ElSGOLTS.
MIR
PUBLISHERS,
MOSCOW,
Third
printing
1977.
Section
:
Chapter
2,
DIFFERENTIAL
EQUATIONS
OF
THE
SECOND
ORDER
AND
HIGHER.
Problems
page
172
Problem
number
:
Problem
42
Date
solved
:
Monday, March 31, 2025 at 08:15:25 AM
CAS
classification
:
[[_high_order, _linear, _nonhomogeneous]]
ode:=diff(diff(diff(diff(x(t),t),t),t),t)+2*diff(diff(x(t),t),t)+x(t) = cos(t); dsolve(ode,x(t), singsol=all);
ode=D[x[t],{t,4}]+2*D[x[t],{t,2}]+x[t]==Cos[t]; ic={}; DSolve[{ode,ic},x[t],t,IncludeSingularSolutions->True]
from sympy import * t = symbols("t") x = Function("x") ode = Eq(x(t) - cos(t) + 2*Derivative(x(t), (t, 2)) + Derivative(x(t), (t, 4)),0) ics = {} dsolve(ode,func=x(t),ics=ics)