Here p = Rs. 80,000. Let Ci and Sn be the maintenance cost and resale value.
Then total annual cost: T = (p – Sn) + ΣCi
Annual average cost [A(n)] = T/n
Here, Annual average cost A(n) is minimum for n = 3 years.
Therefore the optimal age of replacement of the machine is n = 3