Internal
problem
ID
[19061]
Book
:
A
Text
book
for
differentional
equations
for
postgraduate
students
by
Ray
and
Chaturvedi.
First
edition,
1958.
BHASKAR
press.
INDIA
Section
:
Chapter
II.
Equations
of
first
order
and
first
degree.
Misc
examples
on
chapter
II
at
page
25
Problem
number
:
15
Date
solved
:
Thursday, March 13, 2025 at 01:34:46 PM
CAS
classification
:
[_quadrature]
With initial conditions
ode:=diff(x(t),t)^2 = k^2*(1-exp(-2*g*x(t)/k^2)); ic:=x(0) = 0; dsolve([ode,ic],x(t), singsol=all);
ode=D[x[t],t]^2==k^2*(1- Exp[-2*g*x[t]/k^2]); ic={x[0]==0}; DSolve[{ode,ic},x[t],t,IncludeSingularSolutions->True]
{}
from sympy import * t = symbols("t") g = symbols("g") k = symbols("k") x = Function("x") ode = Eq(-k**2*(1 - exp(-2*g*x(t)/k**2)) + Derivative(x(t), t)**2,0) ics = {x(0): 0} dsolve(ode,func=x(t),ics=ics)
TypeError : < not supported between instances of NoneType and x