Internal
problem
ID
[5887]
Book
:
Ordinary
Differential
Equations,
By
Tenenbaum
and
Pollard.
Dover,
NY
1963
Section
:
Chapter
2.
Special
types
of
differential
equations
of
the
first
kind.
Lesson
12,
Miscellaneous
Methods
Problem
number
:
Exercise
12.22,
page
103
Date
solved
:
Sunday, March 30, 2025 at 10:23:49 AM
CAS
classification
:
[[_1st_order, `_with_symmetry_[F(x)*G(y),0]`]]
ode:=(y(x)^2+a*sin(x))*diff(y(x),x) = cos(x); dsolve(ode,y(x), singsol=all);
ode=(y[x]^2+a*Sin[x])*D[y[x],x]==Cos[x]; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") a = symbols("a") y = Function("y") ode = Eq((a*sin(x) + y(x)**2)*Derivative(y(x), x) - cos(x),0) ics = {} dsolve(ode,func=y(x),ics=ics)