You will write three functions that count degrees of freedom and share out the energy.
The idea. Each squared term in the energy of a molecule gets . Moving gives 3 terms, turning gives 2 or 3, and each vibration gives 2. Then for one molecule and for the gas.
Your tasks.
degrees, return from the number of ways to turn and the number of vibrations.energy_one, return the average energy of one molecule, in J.energy_gas, return the internal energy of moles, in J.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…