A  resistance calculator.