





def 					SCREAMING_SNAKE_CASE__				(							UpperCamelCase__:				list[int]       , UpperCamelCase__:				list[int]     ):

		# Check if the input is valid
		if not len(UpperCamelCase__     ) == len(UpperCamelCase__     ) == 3:
				raise ValueError("""Please enter a valid equation."""     )
		if equationa[0] == equationa[1] == equationa[0] == equationa[1] == 0:
				raise ValueError("""Both a & b of two equations can't be zero."""     )

		# Extract the coefficients
		SCREAMING_SNAKE_CASE__						,    SCREAMING_SNAKE_CASE__						,    SCREAMING_SNAKE_CASE__								=   equationa
		SCREAMING_SNAKE_CASE__						,    SCREAMING_SNAKE_CASE__						,    SCREAMING_SNAKE_CASE__								=   equationa

		# Calculate the determinants of the matrices
		SCREAMING_SNAKE_CASE__								=   aa * ba - aa * ba
		SCREAMING_SNAKE_CASE__								=   ca * ba - ca * ba
		SCREAMING_SNAKE_CASE__								=   aa * ca - aa * ca

		# Check if the system of linear equations has a solution (using Cramer's rule)
		if determinant == 0:
				if determinant_x == determinant_y == 0:
						raise ValueError("""Infinite solutions. (Consistent system)"""     )
				else:
						raise ValueError("""No solution. (Inconsistent system)"""     )
		else:
				if determinant_x == determinant_y == 0:
						# Trivial solution (Inconsistent system)
						return (0.0, 0.0)
				else:
						SCREAMING_SNAKE_CASE__								=   determinant_x / determinant
						SCREAMING_SNAKE_CASE__								=   determinant_y / determinant
						# Non-Trivial Solution (Consistent system)
						return (x, y)






def 					SCREAMING_SNAKE_CASE__				(							UpperCamelCase__:				float       , UpperCamelCase__:				float     ):
		if mass < 0:
				raise ValueError("""The mass of a body cannot be negative"""     )
		return 0.5 * mass * abs(UpperCamelCase__     ) * abs(UpperCamelCase__     )


if __name__ == "__main__":
	import doctest

	doctest.testmod(verbose=True)