Internal
problem
ID
[13418]
Book
:
Differential
Equations
by
Shepley
L.
Ross.
Third
edition.
John
Willey.
New
Delhi.
2004.
Section
:
Chapter
4,
Section
4.3.
The
method
of
undetermined
coefficients.
Exercises
page
151
Problem
number
:
47
Date
solved
:
Wednesday, March 05, 2025 at 09:56:41 PM
CAS
classification
:
[[_3rd_order, _linear, _nonhomogeneous]]
ode:=diff(diff(diff(y(x),x),x),x)-6*diff(diff(y(x),x),x)+12*diff(y(x),x)-8*y(x) = exp(2*x)*x+x^2*exp(3*x); dsolve(ode,y(x), singsol=all);
ode=D[y[x],{x,3}]-6*D[y[x],{x,2}]+12*D[y[x],x]-8*y[x]==x*Exp[2*x]+x^2*Exp[3*x]; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(-x**2*exp(3*x) - x*exp(2*x) - 8*y(x) + 12*Derivative(y(x), x) - 6*Derivative(y(x), (x, 2)) + Derivative(y(x), (x, 3)),0) ics = {} dsolve(ode,func=y(x),ics=ics)