f=10^3; v=10; i=50*10^(-3); x_l=v/i; l=x_l/(2*%pi*f); disp("the inductance of the coil (in mH) is"); disp(l*10^3);