Internal
problem
ID
[13442]
Book
:
Differential
Equations
by
Shepley
L.
Ross.
Third
edition.
John
Willey.
New
Delhi.
2004.
Section
:
Chapter
4,
Section
4.4.
Variation
of
parameters.
Exercises
page
162
Problem
number
:
17
Date
solved
:
Wednesday, March 05, 2025 at 10:00:40 PM
CAS
classification
:
[[_2nd_order, _linear, _nonhomogeneous]]
ode:=diff(diff(y(x),x),x)+3*diff(y(x),x)+2*y(x) = exp(-x)/x; dsolve(ode,y(x), singsol=all);
ode=D[y[x],{x,2}]+3*D[y[x],x]+2*y[x]==Exp[-x]/x; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(2*y(x) + 3*Derivative(y(x), x) + Derivative(y(x), (x, 2)) - exp(-x)/x,0) ics = {} dsolve(ode,func=y(x),ics=ics)