implement resistance and capacitance units