Internal
problem
ID
[5692]
Book
:
Differential
and
integral
calculus,
vol
II
By
N.
Piskunov.
1974
Section
:
Chapter
1
Problem
number
:
Example,
page
30
Date
solved
:
Sunday, March 30, 2025 at 10:02:35 AM
CAS
classification
:
[_linear]
ode:=diff(y(x),x)-2*y(x)/(1+x) = (1+x)^2; dsolve(ode,y(x), singsol=all);
ode=D[y[x],x]-2*y[x]/(1+x)==(x+1)^2; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(-(x + 1)**2 + Derivative(y(x), x) - 2*y(x)/(x + 1),0) ics = {} dsolve(ode,func=y(x),ics=ics)