
'''simple docstring'''


import warnings

from ...utils import logging
from .image_processing_deit import DeiTImageProcessor


__lowercase							:   Tuple					=     logging.get_logger(__name__)

class 	__lowercase				(  _lowercase    ):

			def __init__(self			,   *A			,   **A      ):
								warnings.warn(
								    '''The class DeiTFeatureExtractor is deprecated and will be removed in version 5 of Transformers. Please'''
								    ''' use DeiTImageProcessor instead.'''			,   A			,   )
								super().__init__(*A			,   **A      )




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


