summaryrefslogtreecommitdiff
path: root/858/CH2/EX2.3/example_3.sce
blob: d4eaa19c6761ea22fb3a6d15c2bfa869ea5197d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
clc
clear 
printf("example 2.3 page number 72\n\n")

//to find equivalent mass of metal

P=104.3     //total pressure in KPa
pH2O=2.3    //in KPa
pH2=P-pH2O; //in KPa

VH2=209*pH2*273/(293*101.3)

printf("volume of hydrogen obtained = %f ml\n\n",VH2)

//calculating amount of metal having 11.2l of hydrogen

m=350/196.08*11.2   //mass of metal in grams
printf("mass of metal equivalent to 11.2 litre/mol of hydrogen = %f gm",m)