Explain why alternating current is used rather than direct current to transport electricity over long distances. Mention the role of transformers and the formula for Joule effect losses.