A capacitor of capacitance 2 μF is charged to a potential difference of 5 V. Now the charging battery is disconnected and the capacitor is connected in parallel to a 5 Ω and R resistance as shown in figure. If total heat produced in 5 Ω resistance is 10 μJ, then R is