Internal
problem
ID
[4729]
Book
:
Ordinary
differential
equations
and
their
solutions.
By
George
Moseley
Murphy.
1960
Section
:
Various
5
Problem
number
:
128
Date
solved
:
Tuesday, March 04, 2025 at 07:11:49 PM
CAS
classification
:
[_quadrature]
ode:=diff(y(x),x) = (a+b*cos(y(x)))^(1/2); dsolve(ode,y(x), singsol=all);
ode=D[y[x],x]==Sqrt[a+b Cos[ y[x]]]; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") a = symbols("a") b = symbols("b") y = Function("y") ode = Eq(-sqrt(a + b*cos(y(x))) + Derivative(y(x), x),0) ics = {} dsolve(ode,func=y(x),ics=ics)