summaryrefslogtreecommitdiff
path: root/944/CH6/EX6.16/example6_16_TACC.sce
blob: fe7b2348d0cff2432b9c6b45164faac8f775b66d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//example 5.16

clear;
clc;

//Given:
dTf=0.088;//Lowering in freezing point[K]
m2=0.45;//mass of sulphur[gm]
m1=0.09955;//mass of benzene[gm]
Kf=5.07;//cryoscopic constant for benzene[K*Kg/mol]

//To find the molecular formula of sulphur
a=m1*dTf;
b=Kf*m2;
M2=b/a;//molecular weight of sulphur
printf("The molecular weight of sulphur is %f",M2);
x=M2/32;//no. of sulphur atoms
printf("\n The molecular formula of sulphur is S%f",x);