Internal
problem
ID
[23103]
Book
:
An
introduction
to
Differential
Equations.
By
Howard
Frederick
Cleaves.
1969.
Oliver
and
Boyd
publisher.
ISBN
0050015044
Section
:
Chapter
4.
Linear
equations
of
the
first
order.
Exercise
4a
at
page
56
Problem
number
:
10
Date
solved
:
Thursday, October 02, 2025 at 09:21:55 PM
CAS
classification
:
[_linear]
With initial conditions
ode:=diff(y(x),x)+y(x)*tan(x) = sec(x); ic:=[y(0) = 5]; dsolve([ode,op(ic)],y(x), singsol=all);
ode=D[y[x],x]+y[x]*Tan[x]==Sec[x]; ic={y[0]==5}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(y(x)*tan(x) - sec(x) + Derivative(y(x), x),0) ics = {y(0): 5} dsolve(ode,func=y(x),ics=ics)