Internal
problem
ID
[19778]
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
(v)
Date
solved
:
Thursday, October 02, 2025 at 04:43:17 PM
CAS
classification
:
[_quadrature]
With initial conditions
ode:=diff(x(t),t) = cos(t); ic:=[x(1) = 0]; dsolve([ode,op(ic)],x(t), singsol=all);
ode=D[x[t],t]==Cos[t]; ic={x[1]==0}; DSolve[{ode,ic},x[t],t,IncludeSingularSolutions->True]
from sympy import * t = symbols("t") x = Function("x") ode = Eq(-cos(t) + Derivative(x(t), t),0) ics = {x(1): 0} dsolve(ode,func=x(t),ics=ics)