1 2 3 4 5 6 7
clc; L=0.001; C=0.0000000001; f0=1/(2*3.14*(L*C)^0.5); disp('Hz',floor(f0/1000),"f0=");//The answers vary due to round off error