EasyManuals Logo

Texas Instruments Titanium TI-89 User Manual

Texas Instruments Titanium TI-89
1008 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 #599 background imageLoading...
Page #599 background image
Programming 599
For example:
Ê
Local variable m is not assigned an initial value.
In the example above, the local variable m exists independently of any variable m that
exists outside of the function.
You Must Initialize Local Variables
You Must Initialize Local VariablesYou Must Initialize Local Variables
You Must Initialize Local Variables
All local variables must be assigned an initial value before they are referenced.
Ê
1 is stored as the initial value for m.
The calculator cannot use a local variable to perform symbolic calculations.
Ê
Define fact(n)=Func:
Local m:
While n>1:
nm!m: n–1!n:
EndWhile:
Return m:
EndFunc
Ê
Define fact(n)=Func:
Local m: 1!m:
While n>1:
nùm!m: n–1!n:
EndWhile:
Return m:
EndFunc

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

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

Texas Instruments Titanium TI-89 Specifications

General IconGeneral
Display TypeLCD
Display Resolution160 x 100 pixels
Memory188 KB RAM, 2.7 MB Flash ROM
TypeGraphing Calculator
DisplayMonochrome
ProcessorMotorola 68000
Processor Speed12 MHz
Power Source4 AAA batteries
ConnectivityUSB
ProgrammingTI-BASIC, Assembly
Operating SystemAMS (Advanced Mathematics Software)

Related product manuals