Calculations for trans resistors