Internal
problem
ID
[6472]
Book
:
Engineering
Mathematics.
By
K.
A.
Stroud.
5th
edition.
Industrial
press
Inc.
NY.
2001
Section
:
Program
24.
First
order
differential
equations.
Further
problems
24.
page
1068
Problem
number
:
43
Date
solved
:
Sunday, March 30, 2025 at 11:04:48 AM
CAS
classification
:
[_separable]
With initial conditions
ode:=diff(y(x),x)+x+x*y(x)^2 = 0; ic:=y(1) = 0; dsolve([ode,ic],y(x), singsol=all);
ode=D[y[x],x]+x+x*y[x]^2==0; ic={y[1]==0}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(x*y(x)**2 + x + Derivative(y(x), x),0) ics = {y(1): 0} dsolve(ode,func=y(x),ics=ics)