
_snake_case      = 8.3_14_45_98

def  __lowerCamelCase					( _lowercase						,     _lowercase			)       ->      float:
     if temperature < 0:
          raise Exception('Temperature cannot be less than 0 K'			)
     if molar_mass <= 0:
          raise Exception('Molar mass cannot be less than or equal to 0 kg/mol'			)
     else:
          return (3 * UNIVERSAL_GAS_CONSTANT * temperature / molar_mass) ** 0.5


if __name__ == "__main__":
 import doctest

 # run doctest
 doctest.testmod()

 # example
 _snake_case      = 300
 _snake_case      = 28
 _snake_case      = rms_speed_of_molecule(temperature, molar_mass)
 print(F"Vrms of Nitrogen gas at 300 K is {vrms} m/s")




from decimal import Decimal, getcontext
from math import ceil, factorial

def  __lowerCamelCase					( _lowercase			)       ->      str:

     if not isinstance(_lowercase						,     _lowercase			):
          raise TypeError('Undefined for non-integers'			)
     elif precision < 1:
          raise ValueError('Undefined for non-natural numbers'			)

     UpperCamelCase						    =					precision
     UpperCamelCase						    =					ceil(precision / 14			)
     UpperCamelCase						    =					426880 * Decimal(10005			).sqrt()
     UpperCamelCase						    =					1
     UpperCamelCase						    =					13591409
     UpperCamelCase						    =					Decimal(_lowercase			)
     for k in range(1						,     _lowercase			):
          UpperCamelCase						    =					factorial(6 * k			) // (factorial(3 * k			) * factorial(_lowercase			) ** 3)
          linear_term += 545140134
          exponential_term *= -262537412640768000
          partial_sum += Decimal(multinomial_term * linear_term			) / exponential_term
     return str(constant_term / partial_sum			)[:-1]


if __name__ == "__main__":
 _snake_case      = 50
 print(F"The first {n} digits of pi is: {pi(n)}")


