Internal
problem
ID
[703]
Book
:
Differential
equations
and
linear
algebra,
3rd
ed.,
Edwards
and
Penney
Section
:
Section
1.4.
Separable
equations.
Page
43
Problem
number
:
28
Date
solved
:
Tuesday, September 30, 2025 at 04:06:34 AM
CAS
classification
:
[_separable]
With initial conditions
ode:=2*x^(1/2)*diff(y(x),x) = cos(y(x))^2; ic:=[y(4) = 1/4*Pi]; dsolve([ode,op(ic)],y(x), singsol=all);
ode=2*x^(1/2)*D[y[x],x] == Cos[y[x]]^2; ic=y[4]==Pi/4; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(2*sqrt(x)*Derivative(y(x), x) - cos(y(x))**2,0) ics = {y(4): pi/4} dsolve(ode,func=y(x),ics=ics)