Resistance

This function is used to calculate the parallel and series resistance of two resistors.