Internal
problem
ID
[20382]
Book
:
A
Text
book
for
differentional
equations
for
postgraduate
students
by
Ray
and
Chaturvedi.
First
edition,
1958.
BHASKAR
press.
INDIA
Section
:
Chapter
II.
Equations
of
first
order
and
first
degree.
Exercise
II
(D)
at
page
16
Problem
number
:
2
Date
solved
:
Thursday, October 02, 2025 at 05:49:34 PM
CAS
classification
:
[_linear]
ode:=cos(x)^2*diff(y(x),x)+y(x) = tan(x); dsolve(ode,y(x), singsol=all);
ode=Cos[x]^2*D[y[x],x]+y[x]==Tan[x]; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(y(x) + cos(x)**2*Derivative(y(x), x) - tan(x),0) ics = {} dsolve(ode,func=y(x),ics=ics)