blob: dd8a5348747f65247847c1834e841c8414b63fef (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
clear;
clc;
disp('Example 5.1');
// aim : To determine
// new pressure exerted on the air and the difference in two mercury column level
// Given values
P1 = 765;// atmospheric pressure, [mmHg]
V1 = 20000;// [mm^3]
V2 = 17000;// [mm^3]
// solution
// using boyle's law P*V=constant
// hence
P2 = P1*V1/V2;// [mmHg]
mprintf('\n The new pressure exerted on the air is = %f mmHg \n',P2);
del_h = P2-P1;// difference in Height of mercury column level
mprintf('\n The difference in the two mercury column level is = %f mm\n',del_h);
// End
|