




'''simple docstring'''



from __future__ import annotations

from math import pi, sqrt







def       _UpperCamelCase			(_lowerCamelCase				:  float ,						_lowerCamelCase				:  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()








# limitations under the License.

# NOTE: This file is deprecated and will be removed in a future version.
# It only exists so that temporarely `from diffusers.pipelines import DiffusionPipeline` works

from .pipelines import DiffusionPipeline, ImagePipelineOutput  # noqa: F401
from .utils import deprecate


deprecate(
    "pipelines_utils",
    "0.22.0",
    "Importing `DiffusionPipeline` or `ImagePipelineOutput` from diffusers.pipeline_utils is deprecated. Please import from diffusers.pipelines.pipeline_utils instead.",
    standard_warn=False,
    stacklevel=3,
)


