Internal
problem
ID
[4633]
Book
:
Ordinary
differential
equations
and
their
solutions.
By
George
Moseley
Murphy.
1960
Section
:
Various
1
Problem
number
:
25
Date
solved
:
Tuesday, March 04, 2025 at 06:59:39 PM
CAS
classification
:
[_linear]
ode:=diff(y(x),x)+tan(x) = (1-y(x))*sec(x); dsolve(ode,y(x), singsol=all);
ode=D[y[x],x]+Tan[x]==(1-y[x])*Sec[x]; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq((y(x) - 1)/cos(x) + tan(x) + Derivative(y(x), x),0) ics = {} dsolve(ode,func=y(x),ics=ics)