
"""simple docstring"""






import math



def     lowerCAmelCase__ (		__magic_name__			)	->float:
						__lowercase						      =					math.log(2 ,      1_0			) * number
						__lowercase						      =					round((log_number - int(__magic_name__			)) ,      1_5			)

						return difference



def     lowerCAmelCase__ (		__magic_name__ = 6_7_8_9_1_0			)	->int:
						__lowercase						      =					9_0
						__lowercase						      =					0

						__lowercase						      =					math.log(1.23 ,      1_0			)
						__lowercase						      =					math.log(1.24 ,      1_0			)
						__lowercase						      =					0

						while position < number:
												__lowercase						      =					log_difference(__magic_name__			)

												if difference >= upper_limit:
																		power_iterator += 9_3

												elif difference < lower_limit:
																		power_iterator += 1_9_6

												else:
																		__lowercase						      =					power_iterator
																		power_iterator += 1_9_6
																		position += 1

						return previous_power


if __name__ == "__main__":
					import doctest

					doctest.testmod()

					print(F"{solution() = }")







"""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''')





