blob: 9aead48de195cef2a51779cb7a367287ab3a5550 (
plain)
1
2
3
4
5
6
7
8
|
//calculating percentage S
//Example 2.8
clc
clear
wt=0.5//weight of coal taken for quantitative analysis in gm
m=0.05//wt of BaSO4 ppt. obtained
%su=(m*32*100)/(wt*233)//percentage of sulphur
printf('Thus Percentage of sulphur =%2.3f percent',%su)
|