Internal
problem
ID
[3470]
Book
:
Mathematical
methods
for
physics
and
engineering,
Riley,
Hobson,
Bence,
second
edition,
2002
Section
:
Chapter
14,
First
order
ordinary
differential
equations.
14.4
Exercises,
page
490
Problem
number
:
Problem
14.16
Date
solved
:
Tuesday, March 04, 2025 at 04:41:17 PM
CAS
classification
:
[_separable]
ode:=diff(y(x),x) = tan(x)*cos(y(x))*(cos(y(x))+sin(y(x))); dsolve(ode,y(x), singsol=all);
ode=D[y[x],x]==Tan[x]*Cos[y[x]]*( Cos[y[x]] + Sin[y[x]] ); ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq((-sin(y(x)) - cos(y(x)))*cos(y(x))*tan(x) + Derivative(y(x), x),0) ics = {} dsolve(ode,func=y(x),ics=ics)