Use the SUM(), and MIN() functions to dynamically compute straight-line depreciation for capital expenditure in any year.