Internal
problem
ID
[7251]
Book
:
Mathematical
Methods
in
the
Physical
Sciences.
third
edition.
Mary
L.
Boas.
John
Wiley.
2006
Section
:
Chapter
8,
Ordinary
differential
equations.
Section
3.
Linear
First-Order
Equations.
page
403
Problem
number
:
12
Date
solved
:
Tuesday, September 30, 2025 at 04:26:13 PM
CAS
classification
:
[_linear]
ode:=diff(x(y),y) = cos(y)-x(y)*tan(y); dsolve(ode,x(y), singsol=all);
ode=D[x[y],y]==Cos[y]-x[y]*Tan[y]; ic={}; DSolve[{ode,ic},x[y],y,IncludeSingularSolutions->True]
from sympy import * y = symbols("y") x = Function("x") ode = Eq(x(y)*tan(y) - cos(y) + Derivative(x(y), y),0) ics = {} dsolve(ode,func=x(y),ics=ics)