Internal
problem
ID
[5860]
Book
:
Ordinary
Differential
Equations,
By
Tenenbaum
and
Pollard.
Dover,
NY
1963
Section
:
Chapter
2.
Special
types
of
differential
equations
of
the
first
kind.
Lesson
11,
Bernoulli
Equations
Problem
number
:
Exercise
11.23,
page
97
Date
solved
:
Tuesday, March 04, 2025 at 11:48:48 PM
CAS
classification
:
[_Bernoulli]
With initial conditions
ode:=2*cos(x)*diff(y(x),x) = y(x)*sin(x)-y(x)^3; ic:=y(0) = 1; dsolve([ode,ic],y(x), singsol=all);
ode=2*Cos[x]*D[y[x],x]==y[x]*Sin[x]-y[x]^3; ic={y[0]==1}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(y(x)**3 - y(x)*sin(x) + 2*cos(x)*Derivative(y(x), x),0) ics = {y(0): 1} dsolve(ode,func=y(x),ics=ics)