calculating bulk density of powders