Texas Instruments TI-Nspire CX CAS TINSPIRE-CX-CAS Merkblatt

Produktcode
TINSPIRE-CX-CAS
Seite von 603
520 Getting Started with the Program Editor
If the function or program requires you to supply one or more arguments,
type the values or variable names inside the parentheses.
prog1(34,power)
3.
Press
·
.
Interrupting a Running Program
While a function or program is running, the busy pointer
}
is displayed.
To stop the function or program,
-
Windows®: Hold down the
F12
key and press
Enter
repeatedly.
-
Mac®: Hold down the
F5
key and press
Enter
repeatedly.
-
Handheld: Hold down the
c
key and press
·
repeatedly.
A message is displayed. To edit the function or program in the Program
Editor, select
Go To
. The cursor appears at the command where the break
occurred.
Getting Values into a Program
You can choose from several methods to supply the values that a function or
program uses in calculations.
Embedding the Values Within the Program or Function
This method is useful primarily for values that must be the same each time the
program or function is used.
1.
Define the program.
Define calculatearea()=
Prgm
w:=3
h:=23.64
area:=w*h
EndPrgm
2.
Run the program.
calculatearea()
:area                           70.92