#Caption_Error in measurement
#Ex_1 part_2 #page 22
print ("ts=0.1")
print ("ps=2.5")
print ("dT=20")
ts=0.1 #('enter the temperature sensitivity=:')
ps=2.5 #('enter the pressure sensitivity(in units/MPa)=:')
dT=20 #('enter the temperature change during pressure measurement=:')
P=120 #('enter the pressure to be measured (in MPa)=:')
error=(ts*dT)/(ps*P);
print'the error in measurement is d percent\n',round(error,3)
#Caption_Error in measurement
#Ex_2 part_2 #page 23
ts=0.5 #('enter the temperature sensitivity=:')
ps=7.5 #('enter the pressure sensitivity(in units/MPa)=:')
dT=40 #('enter the temperature change during pressure measurement=:')
P=160 #('enter the pressure to be measured (in MPa)=:')
error=(ts*dT)/(ps*P);
print'the error in measurement is d percent\n',round(error,3)