A shunt is an electrical component used to allow electric current to flow from one point to the circuit.…