Verifying equations, Syntax errors – HP 32SII User Manual

Page 108

Advertising
background image

6–20 Entering and Evaluating Equations

File name 32sii-Manual-E-0424
Printed Date : 2003/4/24 Size : 17.7 x 25.2 cm

/ )ºº:º 1

πª2ª 1πª2

Notice how the operators and functions combine to give the desired
equation.

You can enter the equation into the equation list using the following
keystrokes:

{

G

K

A

{



.25

y

K

N

y

K

D

0

2

y

Q

{

M

p

K

N

{

]

p

N

{

M

p

K

N

{

]

š

Syntax Errors

The calculator doesn't check the syntax of an equation until you evaluate the
equation and respond to all the prompts–only when a value is actually being
calculated. If an error is detected,

#



is displayed. You have to

edit the equation to correct the error. (See "Editing and Clearing Equations"
earlier in this chapter.)

By not checking equation syntax until evaluation, the HP 32SII lets you create
"equations" that might actually be messages. This is especially useful in
programs, as described in chapter 12.

Verifying Equations

When you're viewing an equation — not while you're typing an equation —
you can press

{



to show you two things about the equation: the

equation's checksum and its length. Hold the



key to keep the values

in the display.

The checksum is a four–digit hexadecimal value that uniquely identifies this
equation. No other equation will have this value. If you enter the equation
incorrectly, it will not have this checksum. The length is the number of bytes of
calculator memory used by the equation.

Advertising