Inductance and capacitance frequency measurer