EasyManuals Logo
Home>Texas Instruments>Calculator>TI-89 Titanium

Texas Instruments TI-89 Titanium Short User Manual

Texas Instruments TI-89 Titanium
306 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #84 background imageLoading...
Page #84 background image
78 Previews
4. Type the following program lines.
Request "Enter an integer",n
Displays a dialog box that prompts
“Enter an integer”, waits for the user to
enter a value, and stores it (as a string)
to variable n.
expr(n)!n
Converts the string to a numeric
expression.
0!temp
Creates a variable named temp and
initializes it to
0.
For i,1,n,1
Starts a For loop based on variable i.
First time through the loop, i = 1. At
end of loop, i is incremented by 1. Loop
continues until i > n.
temp+i!temp
Adds current value of i to temp.
EndFor
Marks the end of the For loop.
Disp temp
Displays the final value of temp.
Type the program lines as shown. Press
¸ at the end of each line.
5. Go to the Home screen. Enter the program
name, followed by a set of parentheses.
You must include ( ) even when there are no
arguments for the program.
The program displays a dialog box with the
prompt specified in the program.
@ " 2 PROG j 1 c d
¸
Steps and keystrokes Display
prog1()

Table of Contents

Other manuals for Texas Instruments TI-89 Titanium

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Texas Instruments TI-89 Titanium and is the answer not in the manual?

Texas Instruments TI-89 Titanium Specifications

General IconGeneral
BrandTexas Instruments
ModelTI-89 Titanium
CategoryCalculator
LanguageEnglish

Related product manuals