DDB(cost,salvage,life,period,factor)
cost: initial cost of asset
salvage: value after depreciation
life: number of periods
period: subject period
factor: factor at which the balance declines
DDB calculates the depreciation of an asset for a given period using the double-declining balance method.