Internal
problem
ID
[15865]
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
:
43
Date
solved
:
Monday, March 31, 2025 at 02:10:35 PM
CAS
classification
:
[_quadrature]
With initial conditions
ode:=1 = cos(y(x))*diff(y(x),x); ic:=y(0) = 2; dsolve([ode,ic],y(x), singsol=all);
ode=1==Cos[y[x]]*D[y[x],x]; ic={y[0]==2}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
{}
from sympy import * x = symbols("x") y = Function("y") ode = Eq(-cos(y(x))*Derivative(y(x), x) + 1,0) ics = {y(0): 2} dsolve(ode,func=y(x),ics=ics)