calculating depreciation with residual value - Search