Source: http://lamh.gmc.ulaval.ca/opus/scphys4/exercices/pdf/energieElec.pdf