1 2 3 4 5 6 7 8 9 10 11
clear //Given Xl=220 //ohm L=0.7 //H //Calculation // f=Xl/(2*%pi*L) //Result printf("\n Frequency is %0.0f HZ",f)