How Renewable Energy Sources Can Compete with Fossil Fuels