Internal
problem
ID
[15910]
Book
:
INTRODUCTORY
DIFFERENTIAL
EQUATIONS.
Martha
L.
Abell,
James
P.
Braselton.
Fourth
edition
2014.
ElScAe.
2014
Section
:
Chapter
2.
First
Order
Equations.
Exercises
2.3,
page
49
Problem
number
:
17
Date
solved
:
Monday, March 31, 2025 at 02:12:56 PM
CAS
classification
:
[_linear]
ode:=diff(y(x),x)+2*y(x)*cot(x) = cos(x); dsolve(ode,y(x), singsol=all);
ode=D[y[x],x]+2*y[x]*Cot[x]==Cos[x]; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(2*y(x)/tan(x) - cos(x) + Derivative(y(x), x),0) ics = {} dsolve(ode,func=y(x),ics=ics)