A resistor develops \( 500 \, \text{J} \) of thermal energy in \( 20 \, \text{s} \) when a current of \( 1.5 \, \text{A} \) is passed through it. If the current is increased from \( 1.5 \, \text{A} \) to \( 3 \, \text{A} \), what will be the energy developed in \( 20 \, \text{s} \).