Comparing options, Cost calculations