HP 250 Operating page 60

Hide thumbs Also See for 250:
Table of Contents

Advertisement

Keyboard Operations
Here are several examples:
3+(2*5)
13
This is the equivalent of
3+2*5,
even though no parentheses are
present.
If two operators have equal priority in an expression
(such as
*
and
I),
then the operations are performed from left to
right.
Multiplication has priority over addition, however,
so
the expression 2*5 is performed first.
When parentheses are
included,
the computer evaluates the quantities in parentheses
first.
2)
To solve
(10-5)*<8/4),
press:
(10-S)*(8/4j
10
If no parentheses were used in the key series above:
then the expression would be evaluated in this way.
First 5
would be multiplied by 8 giving 40.
Second,
this value 40 would
bed i vi d e d by 4 g i v i n g 1 O.
An d t h i r d,
the val u e
1 0 wo u 1 d be
subtracted from 10 giving O.
1
~
2
3
So it is obvious that the use of parentheses
(or their omission)
can affect results.
When in doubt, put parentheses in an
expression,
since all extra sets of parentheses are ignored.
4-3
Keyboard Operations
Here are several examples:
3+(2*5)
13
This is the equivalent of
3+2*5,
even though no parentheses are
present.
If two operators have equal priority in an expression
(such as
*
and
I),
then the operations are performed from left to
right.
Multiplication has priority over addition, however,
so
the expression 2*5 is performed first.
When parentheses are
included,
the computer evaluates the quantities in parentheses
first.
2)
To solve
(10-5)*<8/4),
press:
(10-S)*(8/4j
10
If no parentheses were used in the key series above:
then the expression would be evaluated in this way.
First 5
would be multiplied by 8 giving 40.
Second,
this value 40 would
bed i vi d e d by 4 g i v i n g 1 O.
An d t h i r d,
the val u e
1 0 wo u 1 d be
subtracted from 10 giving O.
1
~
2
3
So it is obvious that the use of parentheses
(or their omission)
can affect results.
When in doubt, put parentheses in an
expression,
since all extra sets of parentheses are ignored.
4-3

Advertisement

Table of Contents
loading

Table of Contents