Mathematical Functions
Description
The following mathematical functions can be used to determine the value of a business figure. The arguments of the functions can themselves be values of other business figures.
Using this Function
Syntax
In the Control File, mathematical functions can be called up as follows:
[account] = mathematical function (value)
[account] = mathematical function ([referenceAccount])
Parameters
[account]
Business figure for which the value should be calculated.
This must be contained in the following input data: Input Files | Financial-Data
mathematical function
Denotes one of the following functions:
Name | Function |
---|---|
sin | sine |
cos | cosine |
tan | tangent |
asin | arc sine |
acos | arc cosine |
atan | arc tangent |
sqrt | square root |
exp | exponential function |
ln | natural logarithm |
log | logarithm to base 10 |
log2 | logarithm to base 2 |
value
Denotes the value that is to be used as an argument in the mathematical function.
[referenceAccount]
Denotes a business figure of which the value is to be used as an argument in the mathematical function.
This must be contained in the following input data: Input Files | Financial-Data
Examples
Example 1
[80000] = sqrt(25)
new value of the business figure [80000]: 5.00
Example 2
[80000] = cos([500])
value of the business figure [500]: 0.00
new value of the business figure [80000]: 1.00
Example 3
[80000] = exp(ln(10))
new value of the business figure [80000]: 10.00