Internal
problem
ID
[13398]
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
:
19
Date
solved
:
Monday, March 31, 2025 at 07:53:11 AM
CAS
classification
:
[[_3rd_order, _linear, _nonhomogeneous]]
ode:=diff(diff(diff(y(x),x),x),x)-6*diff(diff(y(x),x),x)+11*diff(y(x),x)-6*y(x) = x*exp(x)-4*exp(2*x)+6*exp(4*x); dsolve(ode,y(x), singsol=all);
ode=D[y[x],{x,3}]-6*D[y[x],{x,2}]+11*D[y[x],x]-6*y[x]==x*Exp[x]-4*Exp[2*x]+6*Exp[4*x]; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(-x*exp(x) - 6*y(x) - 6*exp(4*x) + 4*exp(2*x) + 11*Derivative(y(x), x) - 6*Derivative(y(x), (x, 2)) + Derivative(y(x), (x, 3)),0) ics = {} dsolve(ode,func=y(x),ics=ics)