Parantheses( ), Brackets – HEIDENHAIN IK 5293 User Manual

Page 337

Advertising
background image

Quadra-Chek

®

5000

323

Test conditions are constructed as formulas. Use the following information
to help construct useful test conditions.

Parantheses( )

Use parantheses to order mathmetical equations. For example, in the follow-
ing equation

6*(4+2) = 36

the 4 and 2 are added together before being multiplied by the 6.

The same equation without the parantheses is as follows:

6*4+2 = 26

Here 6 is multiplied by 4 then added to 2.

Work from the innermost set of parantheses to the outermost set in equa-
tions using multiple sets of parantheses.

For example,

((4+2)*(4+2)+1) = 37

Here the addition in the innermost parantheses is performed first,then the
two sums are multiplied and added to 1.

NOTE

NOTE

NOTE

NOTE

NOTE

The mathemetical order of operations is always multiplication,

The mathemetical order of operations is always multiplication,

The mathemetical order of operations is always multiplication,

The mathemetical order of operations is always multiplication,

The mathemetical order of operations is always multiplication,
division, addition, subtraction.

division, addition, subtraction.

division, addition, subtraction.

division, addition, subtraction.

division, addition, subtraction.

Parantheses can also be used to call functions such a squares, square root,
max, min, etc. For example,

sqrt(100) = 10

the function (square root) is performed on the number in the parantheses
(100).

Brackets [ ]

Use brackets to recall previously measured features for a formula. For ex-
ample,

[Circle 1]x

recalls the 'x' value of Circle 1.

A more complex equation might be

sqr([Circle 1]radius)*PI

Here the radius of Circle 1 is squared and multiplied by pi which produces
the area of Circle 1.

Advertising