You will find , and of any mixture of ideal gases.
The idea. One gas: and . A mixture: is the average of the values of , weighted by the moles. Then and .
Your tasks.
cv_gas, return of one gas from its , in J/(mol K).cv_mixture, the list parts holds pairs (moles, f). Return of the mixture.gamma_mixture, return of the mixture.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…