Internal
problem
ID
[13281]
Book
:
Differential
Equations
by
Shepley
L.
Ross.
Third
edition.
John
Willey.
New
Delhi.
2004.
Section
:
Chapter
2,
Miscellaneous
Review.
Exercises
page
60
Problem
number
:
10
Date
solved
:
Wednesday, March 05, 2025 at 09:33:20 PM
CAS
classification
:
[_linear]
ode:=(1+x)*diff(y(x),x)+x*y(x) = exp(-x); dsolve(ode,y(x), singsol=all);
ode=(x+1)*D[y[x],x]+x*y[x]==Exp[-x]; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(x*y(x) + (x + 1)*Derivative(y(x), x) - exp(-x),0) ics = {} dsolve(ode,func=y(x),ics=ics)