Cost–benefit analysis is typically used by governments to evaluate the desirability of a given intervention. It is heavily used in today's government. It is an analysis…