1 2 3 4 5 6 7 8 9 10 11
clear //Initialisation w=1000 //Angular Frequency L=10**-3 //Inductance //Calculation Xl=w*L //Reactance //Result printf("\n Reactance, Xl = %d Ohm",Xl)