//determine the inductive reactance of the coil L=0.25;//henry....inductance f=50;//hertz...frequency X=2*3.14*f*L disp('value of inductive reactance='+string(X)+'ohms');