Air in a pump is squeezed quickly, and its pressure is read at six volumes. You will make the program find from the readings, using a straight-line fit, and predict the pressure at .
The idea. For an adiabatic change is constant, so . A graph of against is a straight line whose slope is .
Your tasks.
x, the logarithms of the volumes, and y, the logarithms of the pressures.a and b, and read off gamma.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…