Internal
problem
ID
[17222]
Book
:
INTRODUCTORY
DIFFERENTIAL
EQUATIONS.
Martha
L.
Abell,
James
P.
Braselton.
Fourth
edition
2014.
ElScAe.
2014
Section
:
Chapter
2.
First
Order
Equations.
Exercises
2.2,
page
39
Problem
number
:
42
Date
solved
:
Thursday, October 02, 2025 at 01:58:48 PM
CAS
classification
:
[_quadrature]
With initial conditions
ode:=diff(y(t),t) = cos(t); ic:=[y(1/2*Pi) = -1]; dsolve([ode,op(ic)],y(t), singsol=all);
ode=D[y[t],t]==Cos[t]; ic={y[Pi/2]==-1}; DSolve[{ode,ic},y[t],t,IncludeSingularSolutions->True]
from sympy import * t = symbols("t") y = Function("y") ode = Eq(-cos(t) + Derivative(y(t), t),0) ics = {y(pi/2): -1} dsolve(ode,func=y(t),ics=ics)