--> //initializations

--> Mw=1.855//kg (mass of wet soil)
 Mw  = 

   1.855


--> w=.16// (water content)
 w  = 

   0.16


--> v=.945 //l (volume of the mould)
 v  = 

   0.945


--> G=2.68//(specific gravity of solids)
 G  = 

   2.68


--> Yw=1000 // (unit weight of water)
 Yw  = 

   1000.


--> //calculations

--> V=v/1000 // (volume of the mould)
 V  = 

   0.000945


--> D=Mw/V //(bulk density)
 D  = 

   1962.963


--> Dd=D/(1+w) //(dry density)
 Dd  = 

   1692.2095


--> e=((G*Yw)/Dd)-1 //(void ratio)
 e  = 

   0.5837283


--> S=(w*G*100)/e //(degree of saturation)
 S  = 

   73.458833


--> Na=[1-(Dd*(1+(w*G)))/(G*Yw)]*100 //(air voids)
 Na  = 

   9.7825051


--> //results

--> printf('dry density=%f',Dd) //kg/m^3
dry density=1692.209451
--> printf('void ratio=%f',e) 
void ratio=0.583728
--> printf('degree of saturation=%f',S) //%
degree of saturation=73.458833
--> printf('percentage of air voids=%f',Na) //%
percentage of air voids=9.782505