# Chapter 2 Generalized Configurations and Functional Descriptions of Measuring Instruments¶

## Example 2_1 pgno:22¶

In :
#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)

ts=0.1
ps=2.5
dT=20
the error in measurement is d percent
0.007


## Example 2_2 pgno:23¶

In :
#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)

the error in measurement is d percent
0.017