A battery of emf 24V is connected to three resistor P, Q and R as…