Internal
problem
ID
[18255]
Book
:
DIFFERENTIAL
EQUATIONS
WITH
APPLICATIONS
AND
HISTORICAL
NOTES
by
George
F.
Simmons.
3rd
edition.
2017.
CRC
press,
Boca
Raton
FL.
Section
:
Chapter
3.
Second
order
linear
equations.
Section
18.
The
Method
of
Undetermined
Coefficients.
Problems
at
page
132
Problem
number
:
1
(d)
Date
solved
:
Monday, March 31, 2025 at 05:23:58 PM
CAS
classification
:
[[_2nd_order, _with_linear_symmetries]]
ode:=diff(diff(y(x),x),x)-2*diff(y(x),x)+5*y(x) = 25*x^2+12; dsolve(ode,y(x), singsol=all);
ode=D[y[x],{x,2}] -2*D[y[x],x]+5*y[x]==25*x^2+12; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(-25*x**2 + 5*y(x) - 2*Derivative(y(x), x) + Derivative(y(x), (x, 2)) - 12,0) ics = {} dsolve(ode,func=y(x),ics=ics)