Internal
problem
ID
[22831]
Book
:
Applied
Differential
Equations.
By
Murray
R.
Spiegel.
3rd
edition.
1980.
Pearson.
ISBN
978-0130400970
Section
:
Chapter
4.
Linear
differential
equations.
A
Exercises
at
page
199
Problem
number
:
1
(f)
Date
solved
:
Thursday, October 02, 2025 at 09:15:30 PM
CAS
classification
:
[[_2nd_order, _linear, _nonhomogeneous]]
ode:=diff(diff(y(x),x),x)-4*diff(y(x),x)+3*y(x) = 3*exp(x)+2*exp(-x)+x^3*exp(-x); dsolve(ode,y(x), singsol=all);
ode=D[y[x],{x,2}]-4*D[y[x],{x,1}]+3*y[x]==3*Exp[x]+2*Exp[-x]+x^3*Exp[-x]; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(-x**3*exp(-x) + 3*y(x) - 3*exp(x) - 4*Derivative(y(x), x) + Derivative(y(x), (x, 2)) - 2*exp(-x),0) ics = {} dsolve(ode,func=y(x),ics=ics)