Internal
problem
ID
[23069]
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
:
7
Date
solved
:
Thursday, October 02, 2025 at 09:18:41 PM
CAS
classification
:
[_separable]
With initial conditions
ode:=tan(y(x))/cos(x) = cos(x)*diff(y(x),x); ic:=[y(1/4*Pi) = 1/2*Pi]; dsolve([ode,op(ic)],y(x), singsol=all);
ode=Tan[y[x]]/Cos[x] == Cos[x]*D[y[x],x]; ic={y[Pi/4]==Pi/2}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(-cos(x)*Derivative(y(x), x) + tan(y(x))/cos(x),0) ics = {y(pi/4): pi/2} dsolve(ode,func=y(x),ics=ics)