blob: 008ebf8555d72c26e436e19aa51da53a211b15ac (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
//To calculate the external pressure
//Example 24.5
clear;
clc;
Psat=2710;//saturated pressure in millimetre of Hg at 140 degree celsius
Pvap=760;//vapour pressure in millimetre of Hg(1 atm=760 mm of Hg)
Pext=Psat/Pvap;//external vapour pressure at 140 degree celsius
printf("external vapour pressure at 140 degree celsius=%2f atm",Pext);
|