


'''simple docstring'''
from __future__ import annotations

from math import pi, sqrt

def 					lowerCamelCase_ ( __UpperCamelCase					:       float							,    __UpperCamelCase					:       float		)					->	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()









'''simple docstring'''
from statistics import mean, stdev

def 					lowerCamelCase_ ( __UpperCamelCase					:       list							,    __UpperCamelCase					:       int = 3		)					->	list:







     """simple docstring"""
     _A				=							min(__UpperCamelCase		)
     _A				=							max(__UpperCamelCase		)
     # normalize data
     return [round((x - x_min) / (x_max - x_min)							,    __UpperCamelCase		) for x in data]

def 					lowerCamelCase_ ( __UpperCamelCase					:       list							,    __UpperCamelCase					:       int = 3		)					->	list:







     """simple docstring"""
     _A				=							mean(__UpperCamelCase		)
     _A				=							stdev(__UpperCamelCase		)
     # standardize data
     return [round((x - mu) / (sigma)							,    __UpperCamelCase		) for x in data]





