Calculator
417
As an example, create a program named
g(
x
,
y
)
that compares two
arguments. Based on the comparison, the program should display the
text “
x
>
y
” or “
x
y
” (showing the values of
x
and
y
in the text).
1. On the Calculator entry line, type
Define prog1(x,y)=
. Do not press
·
yet.
2. Insert the
Prgm...EndPrgm
template.
–
From the
Functions & Programs
menu, select
Prgm...EndPrgm
.
3. Insert the
If...Then...Else...EndIf
template.
–
From the
Functions & Programs
menu, select
Control
, and then
select
If...Then...Else...EndIf
.
4. Type
the remaining parts of the function, using the arrow keys to
move the cursor from line to line. Use the Symbol Palette to type the
“
“ symbol.
5. Press
·
to complete the definition.
Содержание TI-Nspire
Страница 38: ...26 Setting up the TI Nspire Navigator Teacher Software ...
Страница 46: ...34 Getting started with the TI Nspire Navigator Teacher Software ...
Страница 84: ...72 Using the Content Workspace ...
Страница 180: ...168 Capturing Screens ...
Страница 256: ...244 Embedding documents in web pages ...
Страница 332: ...320 Polling students For detailed information on viewing and sorting poll results see Using the Review Workspace ...
Страница 336: ...324 Polling students ...
Страница 374: ...362 Using the Review Workspace ...
Страница 436: ...424 Calculator ...
Страница 450: ...438 Using Variables ...
Страница 602: ...590 Using Lists Spreadsheet ...
Страница 676: ...664 Using Notes You can also change the sample size and restart the sampling ...
Страница 684: ...672 Libraries ...
Страница 714: ...702 Programming ...
Страница 828: ...816 Data Collection and Analysis ...
Страница 846: ...834 Regulatory Information ...
Страница 848: ...836 ...