Internal
problem
ID
[3620]
Book
:
Differential
equations
and
linear
algebra,
Stephen
W.
Goode
and
Scott
A
Annin.
Fourth
edition,
2015
Section
:
Chapter
1,
First-Order
Differential
Equations.
Section
1.6,
First-Order
Linear
Differential
Equations.
page
59
Problem
number
:
Problem
11
Date
solved
:
Sunday, March 30, 2025 at 01:54:41 AM
CAS
classification
:
[_linear]
ode:=diff(y(x),x) = sin(x)*(y(x)*sec(x)-2); dsolve(ode,y(x), singsol=all);
ode=D[y[x],x]==Sin[x]*(y[x]*Sec[x]-2); 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)*sin(x) + Derivative(y(x), x),0) ics = {} dsolve(ode,func=y(x),ics=ics)