Formula For Frequency Density