1 2 3 4 5 6
p=100; c=10*10^(-6); i=0.87; x_c=p/i^2; f=1/(2*%pi*x_c*c); disp("the frequency (in Hz) is"); disp(f);