






from __future__ import annotations

from cmath import sqrt





def    __lowerCAmelCase   (    __snake_case       ,			__snake_case       ,			__snake_case							):

     if a == 0:
          raise ValueError("Coefficient 'a' must not be zero."							)
     __lowerCAmelCase             =       b * b - 4 * a * c

     __lowerCAmelCase             =       (-b + sqrt(__snake_case							)) / (2 * a)
     __lowerCAmelCase             =       (-b - sqrt(__snake_case							)) / (2 * a)

     return (
         root_a.real if not root_a.imag else root_a,
         root_a.real if not root_a.imag else root_a,
     )





def    __lowerCAmelCase   (    ):
     __lowerCAmelCase      ,			__lowerCAmelCase             =       quadratic_roots(a=5       ,			b=6       ,			c=1							)
     print(F"""The solutions are: {solutiona} and {solutiona}"""							)


if __name__ == "__main__":
 main()














from math import pow, sqrt





def    __lowerCAmelCase   (    *__snake_case							):
     __lowerCAmelCase             =       len(__snake_case							) > 0 and all(value > 0.0 for value in values							)
     return result





def    __lowerCAmelCase   (    __snake_case       ,			__snake_case							):
     return (
         round(sqrt(molar_mass_a / molar_mass_a							)       ,			6							)
         if validate(__snake_case       ,			__snake_case							)
         else ValueError("Input Error: Molar mass values must greater than 0."							)
     )





def    __lowerCAmelCase   (    __snake_case       ,			__snake_case       ,			__snake_case							):
     return (
         round(effusion_rate * sqrt(molar_mass_a / molar_mass_a							)       ,			6							)
         if validate(__snake_case       ,			__snake_case       ,			__snake_case							)
         else ValueError(
             "Input Error: Molar mass and effusion rate values must greater than 0."							)
     )





def    __lowerCAmelCase   (    __snake_case       ,			__snake_case       ,			__snake_case							):
     return (
         round(effusion_rate / sqrt(molar_mass_a / molar_mass_a							)       ,			6							)
         if validate(__snake_case       ,			__snake_case       ,			__snake_case							)
         else ValueError(
             "Input Error: Molar mass and effusion rate values must greater than 0."							)
     )





def    __lowerCAmelCase   (    __snake_case       ,			__snake_case       ,			__snake_case							):
     return (
         round(molar_mass / pow(effusion_rate_a / effusion_rate_a       ,			2							)       ,			6							)
         if validate(__snake_case       ,			__snake_case       ,			__snake_case							)
         else ValueError(
             "Input Error: Molar mass and effusion rate values must greater than 0."							)
     )





def    __lowerCAmelCase   (    __snake_case       ,			__snake_case       ,			__snake_case							):
     return (
         round(pow(effusion_rate_a / effusion_rate_a       ,			2							) / molar_mass       ,			6							)
         if validate(__snake_case       ,			__snake_case       ,			__snake_case							)
         else ValueError(
             "Input Error: Molar mass and effusion rate values must greater than 0."							)
     )






