IFinance.Syd

Fore Syntax

Syd(Cost: Double; Salvage: Double; Life: Double; Period: Double): Double;

Fore.NET Syntax

Syd(Cost: double; Salvage: double; Life: double; Period: double): double;

Parameters

Parameters Description Constraints
Cost Cost for acquiring an asset. Cannot be negative.
Salvage Value of an asset at the end of the depreciation period. Must belong to the [0;Cost] interval.
Life The number of the asset's depreciation periods. Must be positive.
Period Period (must be measured in the same units as the time of full depreciation). Must be in the [1;Life] interval.

Description

The Syd method returns the size of the asset depreciation for this period, calculated using a "sum of annual numbers" method.

Comments

Syd is calculated using the following formula:

Fore Example

To execute the example, add a link to the MathFin system assembly.

Sub UserProc;
Var
    r: Double;
Begin
    r := Finance.
Syd(15000.11000245);
    Debug.WriteLine(r);
End Sub UserProc;

After executing the example the console window displays the asset depreciation value for a period, equal to 933.34.

Fore.NET Example

The requirements and result of the Fore.NET example execution match with those in the Fore example.

Imports Prognoz.Platform.Interop.MathFin;

Public Shared Sub Main(Params: StartParams);
Var
    r: double;
    Finance: FinanceClass = New FinanceClass();
Begin
    r := Finance.Syd(15000.11000245);
    System.Diagnostics.Debug.WriteLine(r);
End Sub;

See also:

IFinance