
"""simple docstring"""







from __future__ import annotations

from math import pi, sqrt
def     __lowerCAmelCase				(_UpperCamelCase       ,  _UpperCamelCase		):

	if inductance <= 0:
		raise ValueError('Inductance cannot be 0 or negative'		)

	elif capacitance <= 0:
		raise ValueError('Capacitance cannot be 0 or negative'		)

	else:
		return (
		    "Resonant frequency",
		    float(1 / (2 * pi * (sqrt(inductance * capacitance		)))		),
		)


if __name__ == "__main__":
							import doctest

							doctest.testmod()



"""simple docstring"""
from math import factorial, radians






def 		lowercase							(     _snake_case						:      float     ,   _snake_case						:      int = 18     ,   _snake_case						:      int = 10     )     ->float:
	"""simple docstring"""





	__snake_case	:						Any						=				angle_in_degrees - ((angle_in_degrees // 360.0) * 360.0)

	# Converting from degrees to radians
	__snake_case	:						int						=				radians(_snake_case     )

	__snake_case	:						str						=				angle_in_radians
	__snake_case	:						Optional[int]						=				3
	__snake_case	:						List[Any]						=				-1

	for _ in range(_snake_case     ):
		result += (b * (angle_in_radians**a)) / factorial(_snake_case     )

		__snake_case	:						int						=				-b  # One positive term and the next will be negative and so on...
		a += 2  # Increased by 2 for every term.

	return round(_snake_case     ,   _snake_case     )


if __name__ == "__main__":
			__import__("""doctest""").testmod()





