Internal
problem
ID
[684]
Book
:
Differential
equations
and
linear
algebra,
3rd
ed.,
Edwards
and
Penney
Section
:
Section
1.4.
Separable
equations.
Page
43
Problem
number
:
8
Date
solved
:
Tuesday, September 30, 2025 at 04:05:57 AM
CAS
classification
:
[_separable]
ode:=diff(y(x),x) = 2*x*sec(y(x)); dsolve(ode,y(x), singsol=all);
ode=D[y[x],x]==2*x*Sec[y[x]]; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(-2*x/cos(y(x)) + Derivative(y(x), x),0) ics = {} dsolve(ode,func=y(x),ics=ics)