summaryrefslogtreecommitdiff
path: root/1388/CH5/EX5.7/5_7.sce
blob: 055138e0a64ac2419c546675ee6bc8b7f181d812 (plain)
1
2
3
4
5
6
7
8
9
10
11
clc
//initialisation of variables
Ph= 643 //mm of Hg
Mh= 18 //gms
Po= 117 //mm of Hg
Mo= 157 //gms
//CALCULATIONS
r= Ph*Mh/(Po*Mo)
P= 100*(1/(1+r))
//RESULTS
printf (' percentage = %.1f percent',P)