Question: please, help! With the following pressure-volume data, you would like to use MATLAB to determine the work (W) delivered in Joules to expand the gas
please, help!
With the following pressure-volume data, you would like to use MATLAB to determine the work (W) delivered in Joules to expand the gas from 1.19 mL to 4.5 mL. V (mL) 1.19 1.3 P (atm) 4.9 4.5 1.43 4.1 1.58 3.7 1.77 3.3 2.02 2.9 2.34 2.5 2.79 2.1 3.44 1.7 4.5 1.3 W = [PDV Determine the work required using: a) Trapezoidal integration. Detail the work done in MATLAB to arrive at the solution (check your units!). b) Fitting the data to the form: P = AVB. For this first linearize the data accordingly. Fit the data with MATLAB's "polyfit" function to find A and B, and then integrate the form above using "integral." Detail the work done in MATLAB to arrive at the solution
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
