Activity 2: Work Done on a Gas

Using Pressure–Volume Data

and the Trapezoid Rule in Desmos

Status: disconnected
What You Will Do: Getting Ready:
Video Thumbnail
What Do You Think?
  1. Imagine the area under the curve below divided into four trapezoids, each with a width of 1 along the x-axis. Do you see how adding the areas of these trapezoids provides an approximation of the true area under the curve?
  2. Use your mouse to click and drag on the graph below to draw four equal-width trapezoids under the curve. If you need to start over, click Erase Drawing. When you are satisfied, click Capture Drawing to copy the image to the clipboard and paste it into your worksheet for this activity.
Background Graph
Data Collection
(0, —)
Analyzing Your Data:
  1. Click the button to apply the trapezoid rule. The area of each trapezoid will appear in column A (kPa·mL) of the data table. Find the total approximate area under the PV curve. Enter the equation (use the underscore key _ to make the subscript) below in the Desmos expression window.
  2. integration
  3. Convert your trapezoid sum from kPa·mL to Joules by rewriting the units in SI form: 1 kPa = 1,000 Pa and 1 mL = 1×10⁻⁶ m³. Since 1 kPa·mL = 1×10⁻³ J, multiply your result by 0.001 (because 1,000 × 1×10⁻⁶ = 1×10⁻³) to obtain the work in Joules. Multiply the total area by .001 in the Desmos expression window.
  4. Calculate an accepted value by evaluating the definite integral from 4 mL to 20 mL using Boyle’s Law for an isothermal compression and compare this exact value with your trapezoid-rule approximation for the same interval. Enter the equation below in the Desmos expression window.
integration Going Further:
  1. Try Boyle’s Law: Pressure–Volume to explore mathematical modeling of the relationship between the pressure and volume of a gas.
  2. Try Temperature and Molecular Motion to learn how statistical models can describe the motion of particles in a gas.