Internal
problem
ID
[6267]
Book
:
Fundamentals
of
Differential
Equations.
By
Nagle,
Saff
and
Snider.
9th
edition.
Boston.
Pearson
2018.
Section
:
Chapter
2,
First
order
differential
equations.
Section
2.2,
Separable
Equations.
Exercises.
page
46
Problem
number
:
12
Date
solved
:
Wednesday, March 05, 2025 at 12:28:08 AM
CAS
classification
:
[_separable]
ode:=diff(y(x),x) = sec(y(x))^2/(x^2+1); dsolve(ode,y(x), singsol=all);
ode=D[y[x],x]==Sec[y[x]]^2/(1+x^2); ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(Derivative(y(x), x) - 1/((x**2 + 1)*cos(y(x))**2),0) ics = {} dsolve(ode,func=y(x),ics=ics)