





"""simple docstring"""





from __future__ import annotations

from math import pi, sqrt


def       lowerCamelCase_       (   UpperCAmelCase_  ,			UpperCAmelCase_  )						->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"""





# flake8: noqa
# Lint as: python3
lowercase__				:Tuple				   =       [
    'VerificationMode',
    'Version',
    'disable_progress_bar',
    'enable_progress_bar',
    'is_progress_bar_enabled',
    'experimental',
]

from .info_utils import VerificationMode
from .logging import disable_progress_bar, enable_progress_bar, is_progress_bar_enabled
from .version import Version
from .experimental import experimental