Internal
problem
ID
[5861]
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.24,
page
97
Date
solved
:
Tuesday, March 04, 2025 at 11:49:11 PM
CAS
classification
:
[[_1st_order, `_with_symmetry_[F(x)*G(y),0]`]]
With initial conditions
ode:=(x-cos(y(x)))*diff(y(x),x)+tan(y(x)) = 0; ic:=y(1) = 1/6*Pi; dsolve([ode,ic],y(x), singsol=all);
ode=(x-Cos[y[x]])*D[y[x],x]+Tan[y[x]]==0; ic={y[1]==Pi/6}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq((x - cos(y(x)))*Derivative(y(x), x) + tan(y(x)),0) ics = {y(1): pi/6} dsolve(ode,func=y(x),ics=ics)