You will compare the work a gas does in one step and reversibly.
The idea. Against a constant outside pressure, , and L bar J. Reversibly at constant temperature, , which is the same as .
Your tasks.
work_constant, return the work in J for a pressure in bar and volumes in L.work_reversible, return the reversible isothermal work in J.how_many_times, the gas expands from v1 to v2. Find how many times more work it does reversibly than in one step against its final pressure.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…
With Standard, you also open 4 more problems, 1 Python lab and 1 extra course. Everything you have used here stays free, always.