Internal
problem
ID
[13199]
Book
:
Differential
Equations
by
Shepley
L.
Ross.
Third
edition.
John
Willey.
New
Delhi.
2004.
Section
:
Chapter
1,
section
1.3.
Exercises
page
22
Problem
number
:
6(b)
Date
solved
:
Monday, March 31, 2025 at 07:37:12 AM
CAS
classification
:
[_separable]
With initial conditions
ode:=diff(y(x),x) = y(x)^2/(x-2); ic:=y(1) = 0; dsolve([ode,ic],y(x), singsol=all);
ode=D[y[x],x]==y[x]^2/(x-2); ic={y[1]==0}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(Derivative(y(x), x) - y(x)**2/(x - 2),0) ics = {y(1): 0} dsolve(ode,func=y(x),ics=ics)
ValueError : Couldnt solve for initial conditions