Unless the question says differently, there is a balancing charge or allowance in the final year of the difference between the sale proceeds and the tax written down value.
In APV calculations the tax shield is calculated on the debt potential provided by the investment (which is usually the amount of debt raised for the project).
The free lectures on both of these areas should help you.