2.6: Weighted Piston#

Air is stored in a piston and cylinder system at atmospheric pressure (\(P_a=101.325 \:kPa\)). The diameter of the pistong is \(D=15\:cm\), and it weighs \(m=510\:g\). Calculate:

a) The gravitational force imposed by the piton weight

b) The pressure imposed by the piston weight

c) Total pressure of air inside the system

d) Gauge pressure of air inside the system

CH2-Q6.png

Solution Approach for a)#

\(F_g=mg\)

where \(g\) is the gravitational acceleration

#define variables

m = 0.51   #piston weight in kg
g = 9.8   #gravitational acceleration im m/s2

F_g = m * g   #gravitational force in N

print('The gravitational force imposed by the piston is:', f"{F_g:.1f}", 'N')
The gravitational force imposed by the piston is: 5.0 N

Solution Approach for b)#

for pressure

\(P_g=F_g/A\)

where \(A\) is the surface area of the piston

#import libraries
import numpy as np

#define variables

D = 0.15   #piston diameter in m
A = np.pi * D ** 2 / 4   #piston surface area in m2
P_g = F_g / A   #pressure imposed by the weight of the piston in Pa

print('The pressure imposed by the weight of the piston is:', f"{P_g:.1f}", 'Pa')
The pressure imposed by the weight of the piston is: 282.8 Pa

Solution Approach for c)#

The total pressure inside the system is composed of atmospheric pressure and the pressure imposed y the weight of the piston

\(P=P_g+P_a\)

#define variables
P_a = 101325   #atmospheric pressure in Pa
P = P_g + P_a   #total pressure inside the system in Pa

print('The total pressure inside the system is:', f"{P:.1f}", 'Pa')
The total pressure inside the system is: 101607.8 Pa

Solution Approach for d)#

The gauge pressure is

\(P_{gauge}=P-P_a=P_g\)

print('The gauge inside the system is:', f"{P_g:.1f}", 'Pa')
The gauge inside the system is: 282.8 Pa