beautypg.com

Basic calculations chapter 2, Kk stacks – Casio fx-7400G PLUS Basic Operation User Manual

Page 23

background image

35

Basic Calculations

Chapter 2

• Display Result Command (

^

^

^

^

^)

When execution reaches the end of a statement followed by a display result com-
mand, execution stops and the result up to that point appears on the display. You
can resume execution by pressing the w key.

u

uu

u

uTo use multistatements

Example

6.9

Ч 123 = 848.7

123

ч 3.2 = 38.4375

AbcdaaA
!W[[3(:)

g.j*

aA!W[2(^)

aA/d.cw

w

• Note that the final result of a multistatement is always displayed, regardless of

whether it ends with a display result command.

• You cannot construct a multistatement in which one statement directly uses the

result of the previous statement.

Example

123

Ч 456: Ч 5

Invalid

k

k

k

k

k Stacks

When the calculator performs a calculation, it temporarily stores certain information
in memory areas called a “stacks” where it can later recall the information when it is
necessary.

There are actually two stacks: a 10-level numeric stack and a 26-level command
stack. The following example shows how data is stored in the stacks.

A calculation can become so complex that it requires too much stack memory and
cause a stack error (Stk ERROR) when you try to execute it. If this happens, try
simplifying your calculation or breaking it down into separate parts. See “How to
Calculate Memory Usage” for details on how much memory is taken up by various
commands.

Intermediate result at point

where “

^

” is used.

Numeric stack
Command stack

P.36

This manual is related to the following products: