Internal
problem
ID
[4855]
Book
:
Ordinary
differential
equations
and
their
solutions.
By
George
Moseley
Murphy.
1960
Section
:
Various
9
Problem
number
:
255
Date
solved
:
Sunday, March 30, 2025 at 04:04:24 AM
CAS
classification
:
[_linear]
ode:=x^2*diff(y(x),x)+x*(x+2)*y(x) = x*(1-exp(-2*x))-2; dsolve(ode,y(x), singsol=all);
ode=x^2*D[y[x],x]+x*(2+x)*y[x]==x*(1-Exp[-2*x])-2; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(x**2*Derivative(y(x), x) - x*(1 - exp(-2*x)) + x*(x + 2)*y(x) + 2,0) ics = {} dsolve(ode,func=y(x),ics=ics)