
"""simple docstring"""






from ..utils import requires_backends


_lowercase							 =							None

class 				__a    :



							'''simple docstring'''







							def __init__(    self     ,						*_lowerCamelCase     ,						**_lowerCamelCase					) ->       str:




										'''simple docstring'''
										requires_backends(self     ,						["detectron2"]					)





							@classmethod
							def      SCREAMING_SNAKE_CASE	(    cls     ,						*_lowerCamelCase     ,						**_lowerCamelCase					) ->       int:




										'''simple docstring'''
										requires_backends(cls     ,						["detectron2"]					)







"""simple docstring"""






from scipy.constants import g



def     lowerCAmelCase__ (		__magic_name__ ,      __magic_name__			)	->float:
			if mass < 0:
						# handling of negative values of mass
						raise ValueError("The mass of a body cannot be negative"			)
			if height < 0:
						# handling of negative values of height
						raise ValueError("The height above the ground cannot be negative"			)
			return mass * g * height


if __name__ == "__main__":
					from doctest import testmod

					testmod(name='''potential_energy''')





