beautypg.com

Using multi-statements in calculations, E-30 – Casio fx-5800P User Manual

Page 31

background image

E-30

d

YYYY

-7.1E

Using Multi-statements in
Calculations

A multi-statement is a statement that is made up of multiple calculation expressions
separated by special separator codes (: and

^). The following examples show how the two

separator codes differ from each other.

{expression 1} : {expression 2} : .... : {expression

n

}

Pressing

E executes each expression in sequence, starting with {expression 1} and

ending with the fi nal expression in the series. After that, the result of the fi nal expression
appears on the display.

Example: To perform the calculation 123 + 456, and then subtract its result from 1000

b

123+4561!(:)

1000-1-(Ans)

E

{expression 1}

^ {expression 2} ^ .... ^ {expression

n

}

In this case, pressing

E starts execution starting with {expression 1}. When execution

reaches a

^ separator, execution pauses and the calculation result up to that point appears

on the display. Pressing

E again will resume execution from the expression below the ^

separator.

Example: To display the result of the calculation 123 + 456, and then subtract it from 1000

b

123+4561x(^)

1000-1-(Ans)