¿Cómo se calcula la resistencia total de un circuito mixto?