The cost can be determined by comparing