Internal
problem
ID
[19779]
Book
:
Elementary
Differential
Equations.
By
R.L.E.
Schwarzenberger.
Chapman
and
Hall.
London.
First
Edition
(1969)
Section
:
Chapter
3.
Solutions
of
first-order
equations.
Exercises
at
page
47
Problem
number
:
1
(vi)
Date
solved
:
Thursday, October 02, 2025 at 04:43:18 PM
CAS
classification
:
[_quadrature]
With initial conditions
ode:=diff(x(t),t) = cos(t)/sin(t); ic:=[x(1) = 0]; dsolve([ode,op(ic)],x(t), singsol=all);
ode=D[x[t],t]==Cos[t]/Sin[t]; ic={x[1]==0}; DSolve[{ode,ic},x[t],t,IncludeSingularSolutions->True]
from sympy import * t = symbols("t") x = Function("x") ode = Eq(Derivative(x(t), t) - cos(t)/sin(t),0) ics = {x(1): 0} dsolve(ode,func=x(t),ics=ics)