clear //Given Xl=220 //ohm L=0.7 //H //Calculation // f=Xl/(2*%pi*L) //Result printf("\n Frequency is %0.0f HZ",f)