beautypg.com

4 square root, 5 absolute value, Square root (sqrt) – Metrohm tiamo 2.2 (ProcessLab) User Manual

Page 81: Absolute value

background image

■■■■■■■■■■■■■■■■■■■■■■

2 General program functions

tiamo 2.2 (ProcessLab)

■■■■■■■■

65

The parameter can be indicated either directly as a number or as a variable
of the type Number. If the parameter does not correspond to the expected
type, it will automatically be converted to this. If this is not possible, the
result of this operation is given as invalid.

Examples
Log(10) = 1

Log('CV.AverageTemp') = Common logarithm of the value of the com-
mon variable CV.AverageTemp

2.4.4.5.4

Square root

Dialog window: Formula editor

Operators/Functions

Syntax
y = Sqrt(number)

Gives the square root of the entered number. Alternative notation for y =
number or y =

2

number.

Parameters
Number

  ≥ 0

The parameter can be indicated either directly as a number or as a variable
of the type Number. If the parameter does not correspond to the expected
type, it will automatically be converted to this. If this is not possible, the
result of this operation is given as invalid.

Examples
Sqrt(33) = 5.745

Sqrt('CV.AverageTemp') = Square root of the value of the common var-
iable CV.AverageTemp

2.4.4.5.5

Absolute value

Dialog window: Formula editor

Operators/Functions

Syntax
y = Abs(number)

Gives the absolute value of the entered number, i.e. the value of the number
irrespective of its sign.

Parameters
Number

The parameter can be indicated either directly as a number or as a variable
of the type Number. If the parameter does not correspond to the expected
type, it will automatically be converted to this. If this is not possible, the
result of this operation is given as invalid.