Ideal gas velocity calculator