Internal
problem
ID
[23098]
Book
:
An
introduction
to
Differential
Equations.
By
Howard
Frederick
Cleaves.
1969.
Oliver
and
Boyd
publisher.
ISBN
0050015044
Section
:
Chapter
4.
Linear
equations
of
the
first
order.
Exercise
4a
at
page
56
Problem
number
:
6
(i)
Date
solved
:
Thursday, October 02, 2025 at 09:20:09 PM
CAS
classification
:
[_linear]
With initial conditions
ode:=diff(z(x),x)-z(x)*sin(x) = 1/exp(cos(x)); ic:=[z(0) = 0]; dsolve([ode,op(ic)],z(x), singsol=all);
ode=D[z[x],x]-z[x]*Sin[x]==1/Exp[ Cos[x] ]; ic={z[0]==0}; DSolve[{ode,ic},z[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") z = Function("z") ode = Eq(-z(x)*sin(x) + Derivative(z(x), x) - exp(-cos(x)),0) ics = {z(0): 0} dsolve(ode,func=z(x),ics=ics)