You will write functions for a van der Waals gas. One finds the pressure. One finds the compressibility factor. One finds the critical constants. One finds the Boyle temperature. Use the units , and , with .
The idea. and . The critical constants are , and . The Boyle temperature is .
Your tasks.
vdw_pressure(n, V, T, a, b).compressibility(P, V, n, T).critical_constants(a, b) so that it returns the three numbers .boyle_temperature(a, b).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…