



"""simple docstring"""





from __future__ import annotations

from math import pi, sqrt




def 	UpperCAmelCase     (		A	:						float     ,				A	:						float       ):

		'''simple docstring'''


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





import os




def 	UpperCAmelCase     (		):

		'''simple docstring'''


		_UpperCAmelCase							 =		os.path.join(os.path.dirname(A       )     ,				'num.txt'       )
		with open(A       ) as file_hand:
				return str(sum(int(A       ) for line in file_hand       )       )[:10]


if __name__ == "__main__":
					print(solution())


