Calculating Power and Cost