Internal
problem
ID
[8808]
Book
:
THEORY
OF
DIFFERENTIAL
EQUATIONS
IN
ENGINEERING
AND
MECHANICS.
K.T.
CHAU,
CRC
Press.
Boca
Raton,
FL.
2018
Section
:
Chapter
3.
Ordinary
Differential
Equations.
Section
3.3
SECOND
ORDER
ODE.
Page
147
Problem
number
:
Example
3.23
Date
solved
:
Tuesday, September 30, 2025 at 05:52:43 PM
CAS
classification
:
[[_2nd_order, _linear, _nonhomogeneous]]
ode:=diff(diff(y(x),x),x)+y(x) = 4*sin(x); dsolve(ode,y(x), singsol=all);
ode=D[y[x],{x,2}]+y[x]==4*Sin[x]; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(y(x) - 4*sin(x) + Derivative(y(x), (x, 2)),0) ics = {} dsolve(ode,func=y(x),ics=ics)