A resistor develops 500 J of thermal energy in 20s when a current of 1.5 A is passed through it. If the current is increased from 1.5 A to 3A