According to Joules law, if the potential difference across a conductor of resistivity ρ remains constant, then the heat produced is proportional to: