The Cost of Generating Electricity