calculating depreciation of mining equipment