Ohm's law for closed circuit: many current sources

$$n\cdot E = I\cdot R+I\cdot n\cdot r$$
Find   It is known that:
      =