beautypg.com

Order of calculation of a formula – Brother WP330MDS User Manual

Page 203

Attention! The text in this document has been recognized automatically. To view the original document, you can use the "Original mode".

background image

9. To recalculate, press

MENU,

use

and to select RECALC, and press

RETURN.

All the results that depend on the value of A2 are now updated.

A2

20

PITCH: 10

A

» ■■

C

D

F

i

3

20

2

22

18

40

10 400

a

4

Order of calculation of a formula

Calculation of a formula is performed in the order of precedence of the operators: the
+ or - sign is first attributed to the operand directly to the sign’s right, next

exponentiations are carried out, then multiplication and divisions, and finally,
additions and subtractions.

Example 1:2#3* 4-2

8 4-2
32-2
30

When two or more operators have the same order of precedence (multiplication and
divisions, or addition and subtraction), calculation is carried out from left to right.

Example 2:1+3+4-2

2#3#2

4+4-2

8#2

8-2

64

6

Use of parentheses to change the order of mathematical operations. The formula

in

parentheses is calculated first.

Example 3:1+3 *4

(1+3) *4

1+12

4*4

13

16

Parentheses can be nested. Calculation proceeds from the innermost pair of

parentheses.

Example 4: ((3 *4+1) *4+3) *4-12

(13 *4+3) *4-12

55*4-12

220-12
208

193