//example-2.11 //page no-59 //given //dipole moment og HF is DM=6.375*10^(-30) //Cm //intermolecular distance r=0.9178*10^(-10) //m //charge on an electron e=1.67*10^(-19) //C //since the HF posses ionic characters //so //Hf in fully ionic state has dipole moment as DM2=r*e //Cm //percentage ionic characters percentage=DM/DM2*100 //% printf ("the percentage ionic character is %f approx.",percentage)