summaryrefslogtreecommitdiff
path: root/1427/CH2/EX2.8/2_8.sce
blob: 67edfacb010705ac8122d002e2a4f18888c3ba40 (plain)
1
2
3
4
5
6
7
8
//ques-2.8
//Calculating percentage of Sulphur in coal sample
clc
M=32;//Molar mass of Sulphur (in g)
W=0.5;//Weight of coal sample (in g)
w=0.05;//Weight of precipitate formed (in g)
p=(w*M*100)/(233*W);//Percentage of Sulphur
printf("The percentage of Sulphur in coal sample is %.4f.\n",p);