Internal
problem
ID
[16387]
Book
:
Ordinary
Differential
Equations.
An
introduction
to
the
fundamentals.
Kenneth
B.
Howell.
second
edition.
CRC
Press.
FL,
USA.
2020
Section
:
Chapter
5.
LINEAR
FIRST
ORDER
EQUATIONS.
Additional
exercises.
page
103
Problem
number
:
5.2
(h)
Date
solved
:
Thursday, October 02, 2025 at 01:27:24 PM
CAS
classification
:
[_linear]
ode:=cos(x)*diff(y(x),x)+y(x)*sin(x) = cos(x)^2; dsolve(ode,y(x), singsol=all);
ode=Cos[x]*D[y[x],x]+Sin[x]*y[x]==Cos[x]^2; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(y(x)*sin(x) - cos(x)**2 + cos(x)*Derivative(y(x), x),0) ics = {} dsolve(ode,func=y(x),ics=ics)