Texas Instruments TI-89 Manuale Utente
![Texas Instruments](https://files.manualsbrain.com/attachments/b46f99d826b2b0e0e5f558c5fb6483942eb9216b/common/fit/150/50/c15ea36eb1fb1cce99a3b94668675bfc78ce832d8d727d9a7bb51a125510/brand_logo.gif)
Programming
638
Note:
For {, type 8 µ (zero). For
&
, press:
8 p (times)
Example 2
Example 2
Example 2
Example 2
This example uses
Prompt
for input,
Lbl
, and
Goto
to create a loop, and
Disp
to display
the result.
Ê
Prompts for input on Program I/O screen.
Ë
Loop calculation.
Ì
Displays output on Program I/O screen.
Note:
Because
Prompt
returns
n
as a number, you do not need to use
expr
to convert
n
.
Ê
Ë
©
©
©
©
©
©
Ë
Ì
:prog2()
:Prgm
:Prompt n
:0
!
temp:1
!
I
:Lbl top
: temp+i
!
temp
: i+1
!
I
: If i
{
n
: Goto top
:Disp temp
:EndPrgm