You will write functions for the three speeds of a gas, and one that works backwards to the temperature.
The idea. For a gas of molar mass , in kg/mol, at the kelvin temperature :
Your tasks.
v_rms, return the rms speed in m/s.v_mp, return the most probable speed in m/s.v_avg, return the average speed in m/s.temperature_for, return the temperature at which a gas of molar mass M has the rms speed v.Have you tried it?
Do the tasks in the editor first, and run the checker after each one. Its hints help when a check fails. When you are ready, compare your code with this solution.
Log in to join the discussion.
Loading…