


'''simple docstring'''

import os
from distutils.util import strtobool

def 							__magic_name__(						lowerCamelCase,				lowerCamelCase):







						for e in env_keys:
												__lowerCAmelCase							       =				int(os.environ.get(__snake_case,				-1))
												if val >= 0:
																		return val
						return default

def 							__magic_name__(						lowerCamelCase,				lowerCamelCase=False):
						__lowerCAmelCase							       =				os.environ.get(__snake_case,				str(__snake_case))
						return strtobool(__snake_case) == 1  # As its name indicates `strtobool` actually returns an int...




def 							__magic_name__(						lowerCamelCase,				lowerCamelCase="no"):
						__lowerCAmelCase							       =				os.environ.get(__snake_case,				str(__snake_case))
						return value





'''simple docstring'''

from math import asin, atan, cos, radians, sin, sqrt, tan

_UpperCAmelCase				: str							    =				6_37_81_37.0
_UpperCAmelCase				: Tuple							    =				6_35_67_52.31_42_45
_UpperCAmelCase				: Optional[Any]							    =				6_3_7_8_1_3_7

def 							__magic_name__(						lowerCamelCase,				lowerCamelCase,				lowerCamelCase,				lowerCamelCase):
						__lowerCAmelCase							       =				(AXIS_A - AXIS_B) / AXIS_A
						__lowerCAmelCase							       =				atan((1 - flattening) * tan(radians(lowerCamelCase)))
						__lowerCAmelCase							       =				atan((1 - flattening) * tan(radians(lowerCamelCase)))
						__lowerCAmelCase							       =				radians(lowerCamelCase)
						__lowerCAmelCase							       =				radians(lowerCamelCase)
						# Equation
						__lowerCAmelCase							       =				sin((phi_a - phi_a) / 2)
						__lowerCAmelCase							       =				sin((lambda_a - lambda_a) / 2)
						# Square both values
						sin_sq_phi *= sin_sq_phi
						sin_sq_lambda *= sin_sq_lambda
						__lowerCAmelCase							       =				sqrt(sin_sq_phi + (cos(lowerCamelCase) * cos(lowerCamelCase) * sin_sq_lambda))
						return 2 * RADIUS * asin(lowerCamelCase)


if __name__ == "__main__":
	import doctest

	doctest.testmod()

