


from math import pow, sqrt
def       UpperCAmelCase__						(*UpperCamelCase_    ):



     """simple docstring"""






     snake_case					=    len(UpperCamelCase_    ) > 0 and all(value > 0.0 for value in values    )
     return result
def       UpperCAmelCase__						(UpperCamelCase_							,UpperCamelCase_    ):



     """simple docstring"""






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



     """simple docstring"""






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



     """simple docstring"""






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



     """simple docstring"""






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

def       UpperCAmelCase__						(UpperCamelCase_							,UpperCamelCase_							,UpperCamelCase_    ):



     """simple docstring"""






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








def       UpperCAmelCase__						(UpperCamelCase_							,UpperCamelCase_							,UpperCamelCase_    ):



     """simple docstring"""






     snake_case					=    len(UpperCamelCase_    )
     snake_case					=    [[0] * n for i in range(UpperCamelCase_    )]
     for i in range(UpperCamelCase_    ):
          snake_case					=    y_points[i]

     for i in range(2							,UpperCamelCase_    ):
          for j in range(UpperCamelCase_							,UpperCamelCase_    ):
               snake_case					=    (
                   (xa - x_points[j - i + 1]) * q[j][i - 1]
                   - (xa - x_points[j]) * q[j - 1][i - 1]
               ) / (x_points[j] - x_points[j - i + 1])

     return [q[n - 1][n - 1], q]


if __name__ == "__main__":
 import doctest

 doctest.testmod()




