Comparing what you would gain from buying an NBA ticket to what you would pay for that ticket is an example of cost-benefit analysis.