Internal
problem
ID
[23071]
Book
:
An
introduction
to
Differential
Equations.
By
Howard
Frederick
Cleaves.
1969.
Oliver
and
Boyd
publisher.
ISBN
0050015044
Section
:
Chapter
3.
Some
standard
types
of
differential
equations.
Exercise
3b
at
page
43
Problem
number
:
9
Date
solved
:
Thursday, October 02, 2025 at 09:18:48 PM
CAS
classification
:
[_separable]
With initial conditions
ode:=x*cos(y(x))*diff(y(x),x)-(x^2+1)*sin(y(x)) = 0; ic:=[y(1) = 1/2*Pi]; dsolve([ode,op(ic)],y(x), singsol=all);
ode=x*Cos[y[x]]*D[y[x],x]-(1+x^2)*Sin[y[x]]==0; ic={y[1]==Pi/2}; 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) - (x**2 + 1)*sin(y(x)),0) ics = {y(1): pi/2} dsolve(ode,func=y(x),ics=ics)