This document discusses energy efficiency in cloud computing. It notes that cloud computing has led to large data centers with significant energy usage and carbon footprints. The resource allocation problem in cloud computing is treated as a linear programming problem aimed at minimizing energy consumption. Several heuristic algorithms are adopted and analyzed for resource allocation using an expected time to compute task model to develop green cloud computing solutions that reduce costs and environmental impacts.