
'''simple docstring'''


def lowercase_	(   _lowercase			,       _lowercase			,       _lowercase				)     ->							list:
					'''simple docstring'''

					lowerCamelCase_					:      List[Any]     =		len(_lowercase				)
					lowerCamelCase_					:      int     =		[[0] * n for i in range(_lowercase				)]
					for i in range(_lowercase				):
										lowerCamelCase_					:      Optional[int]     =		y_points[i]

					for i in range(2			,       _lowercase				):
										for j in range(_lowercase			,       _lowercase				):
															lowerCamelCase_					:      Optional[int]     =		(
															    (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()




'''simple docstring'''


from __future__ import annotations

from math import pi, sqrt




def lowercase_	(   _lowercase			,       _lowercase				)     ->							tuple:
					'''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()


