Internal
problem
ID
[24392]
Book
:
A
short
course
in
Differential
Equations.
Earl
D.
Rainville.
Second
edition.
1958.
Macmillan
Publisher,
NY.
CAT
58-5010
Section
:
Chapter
2.
Equations
of
the
first
order
and
first
degree.
Miscellaneous
Exercises
at
page
45
Problem
number
:
9
Date
solved
:
Thursday, October 02, 2025 at 10:24:19 PM
CAS
classification
:
[_linear]
ode:=sin(theta)*diff(r(theta),theta) = -1-2*r(theta)*cos(theta); dsolve(ode,r(theta), singsol=all);
ode=Sin[ \[Theta] ]*D[r[\[Theta]],\[Theta]] ==-1-2*r[\[Theta]]*Cos[\[Theta]]; ic={}; DSolve[{ode,ic},r[\[Theta]],\[Theta],IncludeSingularSolutions->True]
from sympy import * t = symbols("t") r = Function("r") ode = Eq(2*r(t)*cos(t) + sin(t)*Derivative(r(t), t) + 1,0) ics = {} dsolve(ode,func=r(t),ics=ics)