import math
#initialisation of variables
V1=1.0 #volume
p2=2000 #pressure lbf/in^2
p1=1000 #pressure lbf/in^2
K=350000 #k factor lbf/in^2
#CALCULATIONS
dV=V1*(p2-p1)/K
#RESULTS
print('The fluid be expected compress is = %.4f ' %dV)
import math
#CALCULATIONS
m1=36815.0 #Particles count upstream
m2=6347 #Particles count downstream
b=m1/m2 #beta ratio
#RESULTS
print('The beta ratio = %.1f ' %b)
import math
#CALCULATIONS
m1=36815.0 # Particles count upstream
m2=6347 #Particles count downstream
b=((m1-m2)/m1)*100 # Beta efficiency
#RESULTS
print('The beta efficiency = %.2f percent' %b)