
Programming
582
•
Control structures such as
If...EndIf
commands use a conditional test to decide
which part of a program to execute.
•
Loops commands such as
For...EndFor
repeat a group of commands.
Using Indentation
Using Indentation
Using Indentation
Using Indentation
Displaying Calculated Results
Displaying Calculated Results
Displaying Calculated Results
Displaying Calculated Results
In a program, calculated results are not displayed unless you use an output command.
This is an important difference between performing a calculation on the Home screen
and in a program.
For more complex programs that
use
If...EndIf
and loop structures
such as
For...EndFor
, you can make
the programs easier to read and
understand by using indentation.
:If x>5 Then
: Disp "x is > 5"
:Else
: Disp "x is < or = 5"
:EndIf
These calculations will not
display a result in a program
(although they will on the Home
screen).
:12
ù
6
:cos(
p
/4)
:solve(x^2–x–2=0,x)
Output commands such as
Disp
will display a result in a program.
:Disp 12
ù
6
:Disp cos(
p
/4)
:Disp solve(x^2–x–2=0,x)
Содержание TI-89 Voyage 200
Страница 1: ...TI 89 Titanium Graphing Calculator...
Страница 9: ...Getting Started 9 TI 89 Titanium TI 89 Titanium TI 89 Titanium TI 89 Titanium keys keys keys keys...
Страница 35: ...Getting Started 35 2 B u s i n e s s D B D B Press Result...
Страница 44: ...Getting Started 44 3 0 D B D D Press Result...
Страница 45: ...Getting Started 45 B D D 2 0 0 2 Press Result...
Страница 46: ...Getting Started 46 D B Scroll down to October and press D 1 9 Press Result...
Страница 60: ...Getting Started 60 Example Set split screen mode to TOP BOTTOM Press Result 3 B D...
Страница 63: ...Getting Started 63 2 D B 4 Press Result...
Страница 184: ...Operating the Calculator 184 From the Keyboard From the Keyboard From the Keyboard From the Keyboard...
Страница 453: ...Differential Equation Graphing 453...
Страница 468: ...Tables 468...
Страница 515: ...Split Screens 515 Note Both Top Bottom and Left Right splits use the same methods to select an application...
Страница 539: ...Data Matrix Editor 539...
Страница 718: ...Connectivity 718 A TI 89 Titanium and a Voyage 200 linked together I O Port I O Port I O unit to unit cable...