"""simple docstring"""






import numpy as np



def SCREAMING_SNAKE_CASE__			(   __UpperCAmelCase )  ->  np.array:
   return (2 / (1 + np.exp(-2 * vector ))) - 1


if __name__ == "__main__":
       import doctest

       doctest.testmod()

"""simple docstring"""






from __future__ import annotations

from math import pi, sqrt



def SCREAMING_SNAKE_CASE__			(   __UpperCAmelCase       ,    __UpperCAmelCase )  ->  tuple:

   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()
