Internal
problem
ID
[6452]
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
:
23
Date
solved
:
Wednesday, March 05, 2025 at 12:45:56 AM
CAS
classification
:
[_Bernoulli]
ode:=2*diff(y(x),x)+y(x) = y(x)^3*(x-1); dsolve(ode,y(x), singsol=all);
ode=2*D[y[x],x]+y[x]==y[x]^3*(x-1); ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq((1 - x)*y(x)**3 + y(x) + 2*Derivative(y(x), x),0) ics = {} dsolve(ode,func=y(x),ics=ics)