Equivalent transformation of star resistance network and triangular resistor network