added formula for finding the power of the circuit