Calculation of capitalized cost