Air is enclosed by a rigid cylinder containing a piston. A pressure gage attached to the cylinder indicates an initial reading of 25 psi. Determine the reading on the gage when the piston has compressed the air to one-third its original volume. Assume the compression process to be isothermal and the local atmospheric pressure to be 14.7 psi.

ENGR 121 B Lab Notes for 10/24/2016 Spencer Kociba ● scalarctneeds to have scalar.^vector ● vector(logical vector) ○ Will find every value for whom’s element equals 1 in the logical vector ● Looping repeats the action for every element in a vector ● Example of nested for loops ○ For m=1:3 ■ For n=-1:-1:-3 ● fprintf(‘m=%d, n=%d\n, m,n) ■ End ○ End ○ >> %Will give all combinations created by the for loop (9 in this one) ■ m=1, n=-1 ■ m=1, n=-2 ■ … ■ m=3, n=-3