Corporate: Please give an example of a capital budgeting decision that a company might need to make

Corporate: Please give an example of a capital budgeting decision that a company might need to make How would they reach a conclusion?

Personal: Is there an example in using the cost of capital in personal life?