Internal
problem
ID
[8507]
Book
:
Elementary
differential
equations.
By
Earl
D.
Rainville,
Phillip
E.
Bedient.
Macmilliam
Publishing
Co.
NY.
6th
edition.
1981.
Section
:
CHAPTER
16.
Nonlinear
equations.
Section
101.
Independent
variable
missing.
EXERCISES
Page
324
Problem
number
:
20
Date
solved
:
Sunday, March 30, 2025 at 01:12:31 PM
CAS
classification
:
[[_2nd_order, _missing_x], [_2nd_order, _reducible, _mu_x_y1]]
With initial conditions
ode:=2*diff(diff(y(x),x),x) = sin(2*y(x)); ic:=y(0) = 1/2*Pi, D(y)(0) = 1; dsolve([ode,ic],y(x), singsol=all);
ode=2*D[y[x],{x,2}]==Sin[2*y[x]]; ic={y[0]==Pi/2,Derivative[1][y][0] ==1}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
{}
from sympy import * x = symbols("x") y = Function("y") ode = Eq(-sin(2*y(x)) + 2*Derivative(y(x), (x, 2)),0) ics = {y(0): pi/2, Subs(Derivative(y(x), x), x, 0): 1} dsolve(ode,func=y(x),ics=ics)
Timed Out