Is joules law of heating effect similar to heating effect of electric current. If no state the difference