




lowerCamelCase__					:  int      							=				8.314_4598

def    UpperCAmelCase_				( __UpperCAmelCase		:      float     ,     __UpperCAmelCase		:      float				)   ->					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
   lowerCamelCase__					:  str      							=				300
   lowerCamelCase__					:  int      							=				28
   lowerCamelCase__					:  Optional[int]      							=				rms_speed_of_molecule(temperature, molar_mass)
   print(f'''Vrms of Nitrogen gas at 300 K is {vrms} m/s''')

from __future__ import annotations

from math import pi, sqrt




def 							a		(				snake_case__:   float		,  snake_case__:   float   ):


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




