
"""simple docstring"""


_lowercase							   =				9.80_665






def       _snake_case				(		snake_case__   :     float	,      snake_case__   :     float	,      snake_case__   :     float = g     ):

	if fluid_density <= 0:
		raise ValueError('Impossible fluid density'     )
	if volume < 0:
		raise ValueError('Impossible Object volume'     )
	if gravity <= 0:
		raise ValueError('Impossible Gravity'     )

	return fluid_density * gravity * volume


if __name__ == "__main__":
		import doctest

		# run doctest
		doctest.testmod()

"""simple docstring"""


def       _snake_case				(		snake_case__   :     list	,      snake_case__   :     list	,      snake_case__   :     int     ):
	A						   =   len(snake_case__     )
	A						   =   [[0] * n for i in range(snake_case__     )]
	for i in range(snake_case__     ):
		A						   =   y_points[i]

	for i in range(2	,      snake_case__     ):
		for j in range(snake_case__	,      snake_case__     ):
			A						   =   (
			    (xa - x_points[j - i + 1]) * q[j][i - 1]
			    - (xa - x_points[j]) * q[j - 1][i - 1]
			) / (x_points[j] - x_points[j - i + 1])

	return [q[n - 1][n - 1], q]


if __name__ == "__main__":
		import doctest

		doctest.testmod()