<prompt> Fourth generation of apex locator are based on which principleResistance basedImpedance basedImpedance ratio basedMultiple frequencies based  <response>: First generation ...resistance basedSecond...impedenceThird...impedence ratioFourth ..multifrequency 