Returns the depreciation of an asset for any given period using the variable-declining balance method.

Namespace: Imsl.Finance
Assembly: ImslCS (in ImslCS.dll) Version: 6.5.0.0

Syntax

C#
public static double Vdb(
	double cost,
	double salvage,
	int life,
	int firstPeriod,
	int lastPeriod,
	double factor,
	bool noSL
)
Visual Basic (Declaration)
Public Shared Function Vdb ( _
	cost As Double, _
	salvage As Double, _
	life As Integer, _
	firstPeriod As Integer, _
	lastPeriod As Integer, _
	factor As Double, _
	noSL As Boolean _
) As Double
Visual C++
public:
static double Vdb(
	double cost, 
	double salvage, 
	int life, 
	int firstPeriod, 
	int lastPeriod, 
	double factor, 
	bool noSL
)

Parameters

cost
Type: System..::.Double
A double which specifies the initial cost of the asset.
salvage
Type: System..::.Double
A double which specifies the salvage value of the asset.
life
Type: System..::.Int32
A int which specifies the number of periods over which the asset is being depreciated.
firstPeriod
Type: System..::.Int32
A int which specifies the first period for the calculation.
lastPeriod
Type: System..::.Int32
A int which specifies the last period for the calculation.
factor
Type: System..::.Double
A double which specifies the rate at which the balance declines.
noSL
Type: System..::.Boolean
A bool flag. If true, do not switch to straight-line depreciation even when the depreciation is greater than the declining balance calculation.

Return Value

A double which specifies the depreciation of the asset.

Remarks

It is computed using the following:

If no\_sl = 0,

\sum
            \limits_{i = {\it firstPeriod} + 1}^{\it lastPeriod} {{\it ddb}_i }

If no\_sl \ne 0,

A + \sum\limits_{i = k}^{\it lastPeriod} 
            {{{{{\it cost}} - A - {\it salvage}} \over {{\it lastPeriod} - k + 
            1}}}

where {\it ddb}_i is computed from Ddb for the i-th period. k = the first period where straight line depreciation is greater than the depreciation using the double-declining balance method.

A = \sum\limits_{i = {\it firstPeriod} + 
            1}^{k - 1} {{\it ddb}_i}

See Also