TI-89 Guide Book
TI-89 Guide Book
TI-89 Guide Book
back front
8.06
TI-89
TI-89
ti-cares@ti.com ENG
© 1998 Texas Instruments w w w. t i . c o m / c a l c 9815798-0101 ENG
6.06 adjustable
spine
TI-89 Shortcut Keys
Greek Letters
¥c To access the Greek
character set.
The keyboard map displays shortcuts that are ¥ c j + letter To access lowercase Greek
not marked on the keyboard. As shown letters. Example:
¥ c j [W] displays ω.
below, press ¥ and then the applicable key.
¥ c ¤ + letter To access uppercase Greek
¥Á ƒ letters. Example:
¥c Access Greek letters ¥ c ¤ [ W] displays Ω
(see next column) If you press a key combination that does not
¥d © (comment) access a Greek letter, you get the normal
¥b Copy graph coordinates to letter for that key.
sysdata
ξ ψ ζ τ
¥e ! (factorial)
X Y Z T
¥Í ([F]) Display FORMATS dialog box*
∆
¥1 – ¥9 Run programs kbdprgm1( ) α β δ ε
through kbdprgm9( ) A B C D E
¥p & (append) Γ
φ γ
¥^ ([K]) On-screen keyboard map*
F G H I J
¥§ @
¥´ Turn off unit so that it returns λ µ
to current application the K L M N O
next time you turn it on Π Σ
¥0 (Â) * π ρ σ
¥¶ (Ã) ‚* P Q R S U
SHORTCUT.DOC TI-89: Shortcut Keys for IFC (US English) Joan Terrell Revised: 07/20/98 10:58 AM Printed: 07/27/98 3:57 PM Page 1 of 1
® Table of Contents ➥
TI-89
Guidebook
The TI-89 Symbolic Manipulation was jointly developed by TI and the authors of the
DERIVEë program, who are with Soft Warehouse, Inc., Honolulu, HI.
TITLETOC.DOC TI-89: Title Page(Intl English) Joan Terrell Revised: 08/03/98 2:44 PM Printed: 08/03/98 2:45 PM Page i of 8
Important Texas Instruments makes no warranty, either expressed or implied,
including but not limited to any implied warranties of
merchantability and fitness for a particular purpose, regarding any
programs or book materials and makes such materials available
solely on an “as-is” basis.
In no event shall Texas Instruments be liable to anyone for special,
collateral, incidental, or consequential damages in connection with or
arising out of the purchase or use of these materials, and the sole and
exclusive liability of Texas Instruments, regardless of the form of
action, shall not exceed the purchase price of this equipment.
Moreover, Texas Instruments shall not be liable for any claim of any
kind whatsoever against the use of these materials by any other
party.
US FCC Information This equipment has been tested and found to comply with the limits
Concerning Radio for a Class B digital device, pursuant to Part 15 of the FCC rules. These
Frequency limits are designed to provide reasonable protection against harmful
Interference interference in a residential installation. This equipment generates,
uses, and can radiate radio frequency energy and, if not installed and
used in accordance with the instructions, may cause harmful
interference with radio communications. However, there is no
guarantee that interference will not occur in a particular installation.
If this equipment does cause harmful interference to radio or
television reception, which can be determined by turning the
equipment off and on, you can try to correct the interference by one
or more of the following measures:
¦ Reorient or relocate the receiving antenna.
¦ Increase the separation between the equipment and receiver.
¦ Connect the equipment into an outlet on a circuit different from
that to which the receiver is connected.
¦ Consult the dealer or an experienced radio/television technician
for help.
Caution: Any changes or modifications to this equipment not
expressly approved by Texas Instruments may void your authority to
operate the equipment.
ii
TITLETOC.DOC TI-89: Title Page(Intl English) Joan Terrell Revised: 08/03/98 2:44 PM Printed: 08/03/98 2:45 PM Page ii of 8
Table of Contents
iii
TITLETOC.DOC TI-89: Title Page(Intl English) Joan Terrell Revised: 08/03/98 2:44 PM Printed: 08/03/98 2:45 PM Page iii of 8
Chapter 4: Preview of Constants and Measurement Units ................................... 70
Constants and Entering Constants or Units .................................................................. 71
Measurement Units Converting from One Unit to Another .................................................. 73
Setting the Default Units for Displayed Results .................................. 75
Creating Your Own User-Defined Units ............................................... 76
List of Pre-Defined Constants and Units .............................................. 77
iv
TITLETOC.DOC TI-89: Title Page(Intl English) Joan Terrell Revised: 08/03/98 2:44 PM Printed: 08/03/98 2:45 PM Page iv of 8
Chapter 10: Preview of 3D Graphing ....................................................................... 142
3D Graphing Overview of Steps in Graphing 3D Equations ................................... 144
Differences in 3D and Function Graphing ......................................... 145
Moving the Cursor in 3D....................................................................... 148
Rotating and/or Elevating the Viewing Angle .................................... 150
Animating a 3D Graph Interactively ................................................... 152
Changing the Axes and Style Formats................................................ 153
Contour Plots......................................................................................... 155
Example: Contours of a Complex Modulus Surface......................... 158
Implicit Plots.......................................................................................... 159
Example: Implicit Plot of a More Complicated Equation................. 161
TITLETOC.DOC TI-89: Title Page(Intl English) Joan Terrell Revised: 08/03/98 2:44 PM Printed: 08/03/98 2:45 PM Page v of 8
Chapter 15: Preview of the Data/Matrix Editor...................................................... 226
Data/Matrix Editor Overview of List, Data, and Matrix Variables .................................... 227
Starting a Data/Matrix Editor Session ................................................ 229
Entering and Viewing Cell Values ....................................................... 231
Inserting and Deleting a Row, Column, or Cell ................................. 234
Defining a Column Header with an Expression ................................ 236
Using Shift and CumSum Functions in a Column Header ............... 238
Sorting Columns .................................................................................... 239
Saving a Copy of a List, Data, or Matrix Variable.............................. 240
vi
TITLETOC.DOC TI-89: Title Page(Intl English) Joan Terrell Revised: 08/03/98 2:44 PM Printed: 08/03/98 2:45 PM Page vi of 8
Chapter 18: Preview of Text Operations ................................................................. 304
Text Editor Starting a Text Editor Session ............................................................. 305
Entering and Editing Text .................................................................... 307
Entering Special Characters ................................................................ 311
Entering and Executing a Command Script....................................... 313
Creating a Lab Report........................................................................... 315
vii
TITLETOC.DOC TI-89: Title Page(Intl English) Joan Terrell Revised: 08/03/98 2:44 PM Printed: 08/03/98 2:45 PM Page vii of 8
Appendix A: Quick-Find Locator........................................................................................388
TI.89 Functions and Alphabetical Listing of Operations..............................................................392
Instructions
viii
TITLETOC.DOC TI-89: Title Page(Intl English) Joan Terrell Revised: 08/03/98 2:44 PM Printed: 08/03/98 2:45 PM Page viii of 8
Special Features of the TI-89
Flash – Electronic The TI-89 uses Flash technology, which For details, refer to:
Upgradability lets you upgrade to future software Chapter 22
versions without buying a new calculator.
As new functionality becomes available, you can electronically
upgrade your TI-89. Future software versions include maintenance
upgrades that will be released free of charge, as well as new
applications and major software upgrades that will be available for
purchase from the TI web site.
Over 500K bytes Over 500K bytes of memory is built into For details, refer to:
of Memory the TI-89. About 188K of user available Chapter 21
RAM (random access memory) lets you
compute and store functions, programs,
and data.
About 384K of user data archive allows you to store data, programs,
or any other variables to a safe location where they cannot be edited
or deleted inadvertently. It also frees up RAM by archiving variables.
Archiving You can store variables in the TI-89’s user For details, refer to:
data archive, a protected area of memory Chapter 21
separate from RAM. The user data archive
lets you:
¦ Store data, programs, or any other variables to a safe location
where they cannot be edited or deleted inadvertently.
¦ Create additional free RAM by archiving variables.
By archiving variables that do not need to be edited frequently, you
can free up RAM for applications that may require additional
memory.
Custom Menu The TI-89’s custom menu feature lets you For details, refer to:
create your own toolbar menu. A custom Chapter 17
menu can contain any available function,
instruction, or set of characters. The TI-89
has a default custom menu that you can
modify or redefine.
Calculator-Based The Calculator-Based Ranger (CBR) lets For details, refer to:
Ranger™ (CBR™) you explore the mathematical and Chapter 16
scientific relationships between distance,
velocity, acceleration, and time using data
collected from activities you perform.
The CBR program for the TI-89 is available at:
http://www.ti.com/calc/docs/89.htm
NEW.DOC TI-89: Special Features of the TI-89 (US English) Joan Terrell Revised: 07/26/98 2:14 PM Printed: 07/26/98 2:14 PM Page ix of 2
NEW.DOC TI-89: Special Features of the TI-89 (US English) Joan Terrell Revised: 07/26/98 2:14 PM Printed: 07/26/98 2:14 PM Page 2 of 2
Chapter 1:
Getting Started
Getting the TI.89 Ready to Use ............................................................... 2
Performing Computations........................................................................ 4
This chapter helps you to get started using the TI-89 quickly. This
chapter takes you through several examples to introduce you to
some of the principle operating and graphing functions of the
TI-89.
GETSTRD.DOC TI-89:Getting Started (US English) Joan Terrell Revised: 08/03/98 1:46 PM Printed: 08/03/98 2:10 PM Page 1 of 8
Getting the TI.89 Ready to Use
Installing the AAA Four AAA batteries are included in the TI-89 retail package. Remove
Batteries the batteries from the package and install them in the battery
compartment on the back of the calculator. Arrange the batteries
according to the polarity (+ and N) diagram in the battery
compartment.
Important: When replacing Replace the battery cover by inserting the two prongs into the two
batteries in the future, slots at the bottom of the battery compartment, and then push the
ensure that the TI-89 is
turned off by pressing cover until the latch snaps closed.
2 ®.
To replace the batteries without losing any information stored in
memory, follow the directions in Appendix C.
Turning the Unit On To turn the unit on and adjust the display after installing the
and Adjusting the batteries:
Display Contrast 1. Press ´ to turn the TI-89 on.
The Home screen is displayed; however, the display contrast may
be too dark or too dim to see anything. (When you want to turn
the TI-89 off, press 2 ®.)
2. To adjust the display to your satisfaction, hold down ¥ (diamond
symbol inside a green border) and momentarily press | (minus
key) to lighten the display. Hold down ¥ and momentarily press
« (plus key) to darken the display.
About the Home When you first turn on your TI-89, a blank Home screen is displayed.
Screen The Home screen lets you execute instructions, evaluate
expressions, and view results.
GETSTRD.DOC TI-89:Getting Started (US English) Joan Terrell Revised: 07/29/98 1:10 PM Printed: 07/29/98 1:12 PM Page 2 of 8
The following example contains previously entered data and
describes the main parts of the Home screen. Entry/answer pairs in
the history area are displayed in “pretty print.” Pretty print displays
expressions in the same form in which they are written on the board
or in textbooks.
Last Entry
Your last entry. Last Answer
Result of your last entry.
Entry Line Note that results are not
Where you enter displayed on the entry line.
expressions or
instructions.
Status Line
Shows the current state
of the calculator.
Last Entry
"Pretty print" is ON.
Exponents, roots,
fractions, etc., are Answer Continues
displayed in the same Highlight the answer and
form in which they are press B to scroll right and
traditionally written. view the rest of it. Note that
the answer is not on the
same line as the
expression.
Expression Continues
Press B to scroll right and
view the rest of the entry.
Press 2 A or 2 B to go
to the beginning or end of
the entry line.
GETSTRD.DOC TI-89:Getting Started (US English) Joan Terrell Revised: 07/29/98 1:10 PM Printed: 07/29/98 1:12 PM Page 3 of 8
Performing Computations
This section provides several examples for you to perform that demonstrate some of the
computational features of the TI-89. The history area in each screen was cleared by
pressing ƒ and selecting 8:Clear Home, before performing each example, to illustrate
only the results of the example’s keystrokes.
Showing Computations
1. Compute sin(p/4) and display the 2W2Te
result in symbolic and numeric 4d¸
format. ¥¸
GETSTRD.DOC TI-89:Getting Started (US English) Joan Terrell Revised: 07/29/98 1:10 PM Printed: 07/29/98 1:12 PM Page 4 of 8
Steps Keystrokes Display
Expanding Expressions
1. Expand the expression (xì 5) 3. „ 3
cX|5dZ3
You can enter “expand” on the entry line
by typing EXPAND on the keyboard, or by d
pressing „ and selecting 3:expand(. ¸
2. (Optional) Enter other expressions
on your own.
Reducing Expressions
1. Reduce the expression „ 7
(x 2ì 2xì 5)/(xì 1) to its simplest form. cXZ2|2X
|5de
You can enter “propFrac” on the entry line
by typing PROPFRAC on the keyboard, or cX|1dd
by pressing „ and selecting 7:propFrac(. ¸
Factoring Polynomials
1. Factor the polynomial (x 2ì 5) with „ 2
respect to x. XZ2|5
bXd
You can enter “factor” on the entry line by
typing FACTOR on the keyboard or by ¸
pressing „ and selecting 2:factor(.
Solving Equations
1. Solve the equation x 2ì 2xì 6=2 with ½S
respect to x. (press D until
the ú mark
You can enter “solve(” on the entry line by
selecting “solve(” from the Catalog menu, points to
by typing SOLVE( on the keyboard, or by solve() ¸
pressing „ and selecting 1:solve(. XZ2|2X|6
The status line area shows the required Á2bXd
syntax for the marked item in the Catalog ¸
menu.
GETSTRD.DOC TI-89:Getting Started (US English) Joan Terrell Revised: 07/29/98 1:10 PM Printed: 07/29/98 1:12 PM Page 5 of 8
Steps Keystrokes Display
GETSTRD.DOC TI-89:Getting Started (US English) Joan Terrell Revised: 07/29/98 1:10 PM Printed: 07/29/98 1:12 PM Page 6 of 8
Graphing a Function
The example in this section demonstrates some of the graphing capabilities of the TI-89.
It illustrates how to graph a function using the Y= Editor. You will learn how to enter a
function, produce a graph of the function, trace a curve, find a minimum point, and
transfer the minimum coordinates to the Home screen.
Explore the graphing capabilities of the TI-89 by graphing the function y=(|x 2ì 3|ì 10)/2.
entry line
4. Turn on Trace. …
The tracing cursor, and the x and y
coordinates are displayed.
tracing
cursor
GETSTRD.DOC TI-89:Getting Started (US English) Joan Terrell Revised: 07/29/98 1:10 PM Printed: 07/29/98 1:12 PM Page 7 of 8
Steps Keystrokes Display
minimum point
minimum coordinates
GETSTRD.DOC TI-89:Getting Started (US English) Joan Terrell Revised: 07/29/98 1:10 PM Printed: 07/29/98 1:12 PM Page 8 of 8
Chapter 2:
Operating the TI.89
Turning the TI-89 On and Off ................................................................ 10
Setting the Display Contrast .................................................................. 11
2 The Keyboard........................................................................................... 12
Entering Alphabetic Characters ............................................................ 15
Home Screen............................................................................................ 16
Entering Numbers ................................................................................... 18
Entering Expressions and Instructions ................................................ 19
Formats of Displayed Results................................................................ 22
Editing an Expression in the Entry Line .............................................. 25
TI-89 Menus ............................................................................................. 27
Using the Custom Menu ......................................................................... 30
Selecting an Application......................................................................... 31
Setting Modes .......................................................................................... 33
Using 2 ˆ Clean Up to Start a New Problem................................. 35
Using the Catalog to Select a Command .............................................. 36
Storing and Recalling Variable Values.................................................. 37
Reusing a Previous Entry or the Last Answer ..................................... 39
Auto-Pasting an Entry or Answer from the History Area................... 41
Status Line Indicators in the Display .................................................... 42
Finding the Software Version and Serial Number............................... 44
OPER.DOC TI-89: Operating the TI-89 (US English) Joan Terrell Revised: 08/03/98 1:50 PM Printed: 08/03/98 2:11 PM Page 9 of 36
Turning the TI-89 On and Off
You can turn the TI-89 on and off manually by using the
´ and 2 ® (or ¥ ® ) keys. To prolong battery life, the
APDé (Automatic Power Down) feature lets the TI-89 turn
itself off automatically.
Turning the TI-89 You can use either of the following keys to turn off the TI-89.
Off
Press: Description
Note: ® is the second 2® Settings and memory contents are retained by the
function of the ´ key. (press 2 Constant Memoryé feature. However:
and then
¦ You cannot use 2 ® if an error message is
press ® )
displayed.
¦ When you turn the TI-89 on again, it always
displays the Home screen (regardless of the last
application you used).
¥® Similar to 2 ® except:
(press ¥
¦ You can use ¥ ® if an error message is
and then
displayed.
press ® )
¦ When you turn the TI-89 on again, it will be
exactly as you left it.
APD (Automatic After several minutes without any activity, the TI-89 turns itself off
Power Down) automatically. This feature is called APD.
When you press ´, the TI-89 will be exactly as you left it.
¦ The display, cursor, and any error conditions are exactly as you
left them.
¦ All settings and memory contents are retained.
APD does not occur if a calculation or program is in progress, unless
the program is paused.
Batteries The TI-89 uses four AAA alkaline batteries and a back-up lithium
battery. To replace the batteries without losing any information
stored in memory, follow the directions in Appendix C.
OPER.DOC TI-89: Operating the TI-89 (US English) Joan Terrell Revised: 07/29/98 1:03 PM Printed: 07/29/98 1:04 PM Page 10 of 36
Setting the Display Contrast
Adjusting the You can adjust the display contrast to suit your viewing angle and
Display Contrast lighting conditions.
Contrast keys
To: Press and hold both: VAR-LINK O
When to Replace As the batteries get low, the display begins to dim (especially during
Batteries calculations) and you must increase the contrast. If you have to
increase the contrast frequently, replace the four AAA batteries.
Tip: The display may be The status line along the bottom of the display also gives battery
very dark after you change information.
batteries. Use ¥ | to
lighten the display.
Indicator in status line Description
Batteries are low.
OPER.DOC TI-89: Operating the TI-89 (US English) Joan Terrell Revised: 07/29/98 1:03 PM Printed: 07/29/98 1:04 PM Page 11 of 36
The Keyboard
Overview of Some
Important Keys
ƒ through Š function
keys let you select
toolbar menus. Used
with ¥, you can also
select applications N cancels a menu or
(page 32). dialog box.
Moving the Cursor To move the cursor in a particular direction, press the appropriate
cursor key (A, B, C, or D).
Some TI-89 applications also let you press:
¦ 2 A or 2 B to move to the beginning or end of a line.
¦ 2 C or 2 D to move up or down one screen at a time.
¦ ¥ C or ¥ D to move to the top or bottom of a page.
OPER.DOC TI-89: Operating the TI-89 (US English) Joan Terrell Revised: 07/29/98 1:03 PM Printed: 07/29/98 1:04 PM Page 12 of 36
Modifier Keys Modifier Description
2 Accesses the second function of the next key you press.
On the keyboard, these are printed in the same color as
the 2 key.
¥ Activates keys that select certain applications (page 32),
(diamond) menu items, and other operations from the keyboard.
On the keyboard, these are printed in the same color as
the ¥ key.
Note: For information about j Used to type alphabetic letters, including a space
using j and ¤, refer to character. On the keyboard, these are printed in the
“Entering Alphabetic
Characters” on page 15. same color as the j key.
¤ Types an uppercase character for the next letter key you
(shift) press. ¤ is also used with B and A to highlight
characters in the entry line for editing purposes.
Example of 2 and For example, the N key can perform three operations, depending
¥ Modifiers on whether you first press 2 or ¥.
N accesses the
key’s primary
function.
Some keys perform only one additional operation, which may require
either 2 or ¥, depending on the color in which the operation is
printed on the keyboard and where it is positioned above the key.
¥ 5 accesses CUT ,
which is the same color as
CUT the ¥ key.
2nd
OPER.DOC TI-89: Operating the TI-89 (US English) Joan Terrell Revised: 07/29/98 1:03 PM Printed: 07/29/98 1:04 PM Page 13 of 36
Other Important Key Description
Keys You Need to ¥# Displays the Y= Editor (Chapter 6).
Be Familiar With
¥$ Displays the Window Editor (Chapter 6).
¥% Displays the Graph screen (Chapter 6).
¥& Sets parameters for the Table screen (Chapter 13).
¥' Displays the Table screen (Chapter 13).
¥ 5, Let you edit entered information by performing a cut,
¥ 6, copy, and paste operation.
¥7
2a Switches the active side in a split screen (Chapter 14).
2¾ Toggles the custom menu on and off (page 30).
2 Converts measurement units (Chapter 4).
¥ Designates a measurement unit (Chapter 4).
0 Deletes the character to the left of the cursor
(backspaces).
2/ Toggles between insert and overtype mode for
entering information (page 26).
¥8 Deletes the character to the right of the cursor.
Í Enters the “with” operator, which is used in symbolic
calculations (Chapter 3).
2 <, Performs integrations and derivatives (Chapter 3).
2=
2’ Designates an angle in polar, cylindrical, and spherical
coordinates.
2I Displays the MATH menu.
2¯ Displays the MEMORY screen (Chapter 21).
2 ° Displays the VAR-LINK screen for managing variables
(Chapter 21).
2£ Recalls the contents of a variable (page 38).
29 Displays the UNITS dialog box (Chapter 4).
2¿ Displays the CHAR menu, which lets you select Greek
letters, international accented characters, etc.
(Chapter 18).
2 ±, Recalls the previous entry and the last answer,
2² respectively (page 39).
OPER.DOC TI-89: Operating the TI-89 (US English) Joan Terrell Revised: 07/29/98 1:03 PM Printed: 07/29/98 1:04 PM Page 14 of 36
Entering Alphabetic Characters
Entering a Letter The letters x, y, z, and t are commonly used in algebraic expressions.
Character So that you can type them quickly, these letters are primary keys on
the keyboard.
X Y Z T
OPER.DOC TI-89: Operating the TI-89 (US English) Joan Terrell Revised: 07/29/98 1:03 PM Printed: 07/29/98 1:04 PM Page 15 of 36
Home Screen
Displaying the When you turn on the TI-89 after it has been turned off with 2 ®,
Home Screen the display always shows the Home screen. (If the TI-89 turned itself
off through APD, the display shows the previous screen, which may
or may not have been the Home screen.)
To display the Home screen at any time:
¦ Press ".
— or —
¦ Press 2 K.
— or —
¦ Press O ¸ or O 1.
Parts of the Home The following example gives a brief description of the main parts of
Screen the Home screen.
History Area
Lists entry/answer pairs
you have entered.
Toolbar
Press ƒ, „, etc., to
display menus for selecting
Pretty Print Display
operations.
Shows exponents,
roots, fractions, etc.,
in traditional form.
Refer to page 22.
Last Answer
Last Entry Result of your last entry.
Your last entry. Note that results are not
displayed on the entry line.
Entry Line
Where you enter
expressions or Status Line
instructions. Shows the current state
of the TI-89.
History Area The history area shows up to eight previous entry/answer pairs
(depending on the complexity and height of the displayed
expressions). When the display is filled, information scrolls off the
top of the screen. You can use the history area to:
¦ Review previous entries and answers. You can use the cursor to
view entries and answers that have scrolled off the screen.
¦ Recall or auto-paste a previous entry or answer onto the entry
line so that you can re-use or edit it. Refer to pages 40 and 41.
OPER.DOC TI-89: Operating the TI-89 (US English) Joan Terrell Revised: 07/29/98 1:03 PM Printed: 07/29/98 1:04 PM Page 16 of 36
Scrolling through Normally, the cursor is in the entry line. However, you can move the
the History Area cursor into the history area.
To: Do this:
View entries or answers 1. From the entry line, press C to
that have scrolled off highlight the last answer.
the screen
2. Continue using C to move the
cursor from answer to entry, up
through the history area.
Go to the oldest or newest If the cursor is in the history area, press
history pair ¥ C or ¥ D, respectively.
Note: For an example of View an entry or answer Move the cursor to the entry or answer.
viewing a long answer, refer that is too long for one Use A and B to scroll left and right (or
to page 21.
line (ú is at end of line) 2 A and 2 B to go to the beginning
or end), respectively.
Return the cursor to the Press N, or press D until the cursor is
entry line back on the entry line.
History Information Use the history indicator on the status line for information about the
on the Status Line entry/answer pairs. For example:
OPER.DOC TI-89: Operating the TI-89 (US English) Joan Terrell Revised: 07/29/98 1:03 PM Printed: 07/29/98 1:04 PM Page 17 of 36
Entering Numbers
Entering a Negative 1. Press the negation key ·. (Do not use the subtraction key |.)
Number 2. Type the number.
To see how the TI-89 evaluates a negation in relation to other
functions, refer to the Equation Operating System (EOS) hierarchy in
Appendix B. For example, it is important to know that functions such
as xñ are evaluated before negation.
Evaluated as ë(2ñ)
Use c and d to include
parentheses if you have
any doubt about how a
negation will be
evaluated.
Important: Use | for If you use | instead of · (or vice versa), you may get an error
subtraction and use message or you may get unexpected results. For example:
· for negation.
¦ 9 p · 7 = ë 63
— but —
9 p | 7 displays an error message.
¦ 6 |2 = 4
— but —
6 · 2 = ë 12 since it is interpreted as 6(ë 2), implied multiplication.
¦ ·2 «4 = 2
— but —
| 2 « 4 subtracts 2 from the previous answer and then adds 4.
Entering a Number 1. Type the part of the number that precedes the exponent. This
in Scientific value can be an expression.
Notation 2. Press ^. E appears in the display.
3. Type the exponent as an integer with up to 3 digits. You can use a
negative exponent.
Entering a number in scientific notation does not cause the answers
to be displayed in scientific or engineering notation.
The display format is
determined by the mode
settings (pages 22
through 24) and the Represents 123.45 × 10 - 2
magnitude of the number.
OPER.DOC TI-89: Operating the TI-89 (US English) Joan Terrell Revised: 07/29/98 1:03 PM Printed: 07/29/98 1:04 PM Page 18 of 36
Entering Expressions and Instructions
OPER.DOC TI-89: Operating the TI-89 (US English) Joan Terrell Revised: 07/29/98 1:03 PM Printed: 07/29/98 1:04 PM Page 19 of 36
Parentheses Expressions are evaluated according to the Equation Operating
System (EOS) hierarchy described in Appendix B. To change the
order of evaluation or just to ensure that an expression is evaluated
in the order you require, use parentheses.
Calculations inside a pair of parentheses are completed first. For
example, in 4(1+2), EOS first evaluates (1+2) and then multiplies the
answer by 4.
Entering an Type the expression, and then press ¸ to evaluate it. To enter a
Expression function or instruction name on the entry line, you can:
¦ Press its key, if available. For example, press 2 W.
— or —
¦ Select it from a menu, if available. For example, select 2:abs from
the Number submenu of the MATH menu.
— or —
¦ Use j to type the name letter-by-letter from the keyboard. You
can use any mixture of uppercase or lowercase letters. For
example, type sin( or Sin( .
Type the function name in this
example.
Example Calculate 3.76 ÷ (ë 7.9 + ‡5) + 2 log 45.
3.76 e c · 7.9 « 3.76/(ë 7.9+‡(
2]
2 ] inserts “‡( ”
because its argument
must be in parentheses.
5 dd 3.76/(ë 7.9+‡(5))
Entering Multiple To enter more than one Displays last result only.
Expressions on a expression or instruction
Line at a time, separate them
with a colon by pressing
2 Ë.
! is displayed when you press §
to store a value to a variable.
OPER.DOC TI-89: Operating the TI-89 (US English) Joan Terrell Revised: 07/29/98 1:03 PM Printed: 07/29/98 1:04 PM Page 20 of 36
If an Entry or In the history area, if both the entry and its answer cannot be
Answer Is Too Long displayed on one line, the answer is displayed on the next line.
for One Line If an entry or answer is
too long to fit on one line,
ú is displayed at the end
of the line.
To view the entire entry or answer:
1. Press C to move the cursor from the entry line up into the history
area. This highlights the last answer.
2. As necessary, use C and D to highlight the entry or answer you
want to view. For example, C moves from answer to entry, up
through the history area.
Note: When you scroll to 3. Use B and A or
the right, 7 is displayed at 2 B and 2 A to
the beginning of the line.
scroll right and left.
Example Calculate 3.76 ÷ (ë 7.9 + ‡5). Then add 2 log 45 to the result.
3.76 e c · 7.9 «
2]5 dd¸
« 2 2 ™ LOG j
c 45 d
¸
When you press «, the entry line is
replaced with the variable ans(1), which
contains the last answer.
OPER.DOC TI-89: Operating the TI-89 (US English) Joan Terrell Revised: 07/29/98 1:03 PM Printed: 07/29/98 1:04 PM Page 21 of 36
Formats of Displayed Results
Pretty Print Mode By default, Pretty Print = ON. Exponents, roots, fractions, etc., are
displayed in the same form in which they are traditionally written.
You can use 3 to turn pretty print off and on.
Pretty Print
ON OFF
The entry line does not show an expression in pretty print. If pretty
print is turned on, the history area will show both the entry and its
result in pretty print after you press ¸.
Exact/Approx Mode By default, Exact/Approx = AUTO. You can use 3 to select from
three settings.
Because AUTO is a combination of
the other two settings, you should be
familiar with all three settings.
Note: By retaining fractional EXACT — Any result that is not a whole number is displayed in a
and symbolic forms, EXACT fractional or symbolic form (1/2, p, 2, etc.).
reduces rounding errors that
could be introduced by
intermediate results in Shows whole-number results.
chained calculations.
Shows simplified fractional results.
Shows symbolic p.
Shows symbolic form of roots that
cannot be evaluated to a whole
number.
Press ¥ ¸ to temporarily
override the EXACT setting and
display a floating-point result.
OPER.DOC TI-89: Operating the TI-89 (US English) Joan Terrell Revised: 07/29/98 1:03 PM Printed: 07/29/98 1:04 PM Page 22 of 36
APPROXIMATE — All numeric results, where possible, are displayed
in floating-point (decimal) form.
AUTO — Uses the EXACT form where possible, but uses the
APPROXIMATE form when your entry contains a decimal point. Also,
certain functions may display APPROXIMATE results even if your
entry does not contain a decimal point.
OPER.DOC TI-89: Operating the TI-89 (US English) Joan Terrell Revised: 07/29/98 1:03 PM Printed: 07/29/98 1:04 PM Page 23 of 36
Display Digits Mode By default, Display Digits = FLOAT 6, which means that results are
rounded to a maximum of six digits. You can use 3 to select
different settings. The settings apply to all exponential formats.
Internally, the TI-89 calculates and retains all decimal results with up
to 14 significant digits (although a maximum of 12 are displayed).
Exponent is a multiple of 3.
May have 1, 2, or 3 digits to the
left of the decimal point.
OPER.DOC TI-89: Operating the TI-89 (US English) Joan Terrell Revised: 07/29/98 1:03 PM Printed: 07/29/98 1:04 PM Page 24 of 36
Editing an Expression in the Entry Line
Removing the After you press ¸ to evaluate an expression, the TI-89 leaves
Highlight from the that expression on the entry line and highlights it. To edit the
Previous Entry expression, you must first remove the highlight; otherwise, you may
clear the expression accidentally by typing over it.
To remove the highlight,
move the cursor toward
the side of the expression
you want to edit.
B moves the cursor to the
end of the expression.
A moves the cursor to the beginning.
Moving the Cursor After removing the highlight, move the cursor to the applicable
position within the expression.
OPER.DOC TI-89: Operating the TI-89 (US English) Joan Terrell Revised: 07/29/98 1:03 PM Printed: 07/29/98 1:04 PM Page 25 of 36
Inserting or The TI-89 has both an insert and an overtype mode. By default, the
Overtyping a TI-89 is in the insert mode. To toggle between the insert and
Character overtype modes, press 2 /.
Replacing or First, highlight the applicable characters. Then, replace or delete all
Deleting Multiple the highlighted characters.
Characters
To: Do this:
Highlight multiple 1. Move the cursor to either side of the
characters characters you want to highlight.
Tip: When you highlight Replace the Type the new characters.
characters to replace, highlighted
remember that some
function keys automatically characters
add an open parenthesis.
For example, pressing — or —
2 X types cos(. Press 2 X.
OPER.DOC TI-89: Operating the TI-89 (US English) Joan Terrell Revised: 07/29/98 1:03 PM Printed: 07/29/98 1:04 PM Page 26 of 36
TI-89 Menus
factor(
OPER.DOC TI-89: Operating the TI-89 (US English) Joan Terrell Revised: 07/29/98 1:03 PM Printed: 07/29/98 1:04 PM Page 27 of 36
Items Ending with If you select a menu item ending with ú, a submenu is displayed. You
ú (Submenus) then select an item from the submenu.
For items that have a submenu, you can use the cursor pad as
described below.
¦ To display the submenu for the highlighted item, press B.
(This is the same as selecting that item.)
¦ To cancel the submenu without making a selection, press A.
(This is the same as pressing N.)
Items Containing “. . .” If you select a menu item containing “. . .” (ellipsis marks), a dialog
(Dialog Boxes) box is displayed for you to enter additional information.
Canceling a Menu To cancel the current menu without making a selection, press N.
Depending on whether any submenus are displayed, you may need to
press N several times to cancel all displayed menus.
OPER.DOC TI-89: Operating the TI-89 (US English) Joan Terrell Revised: 07/29/98 1:03 PM Printed: 07/29/98 1:04 PM Page 28 of 36
Moving from One To move from one toolbar menu to another without making a
Toolbar Menu to selection, either:
Another ¦ Press the key (ƒ, „, etc.) for the other toolbar menu.
— or —
¦ Use the cursor pad to move to the next (press B ) or previous
(press A ) toolbar menu. Pressing B from the last menu moves to
the first menu, and vice versa.
When using B, be sure that an item with a submenu is not
highlighted. If so, B displays that item’s submenu instead of moving
to the next toolbar menu.
Example: Selecting Round the value of p to three decimal places. Starting from a clear
a Menu Item entry line on the Home screen:
1. Press 2 I to display the MATH menu.
2. Press 1 to display the Number
submenu. (Or press ¸ since
the first item is automatically
highlighted.)
3. Press 3 to select round. (Or press
D D and ¸.)
4. Press 2 T b 3 d and then
¸ to evaluate the expression.
OPER.DOC TI-89: Operating the TI-89 (US English) Joan Terrell Revised: 07/29/98 1:03 PM Printed: 07/29/98 1:04 PM Page 29 of 36
Using the Custom Menu
The TI-89 has a custom menu that you can turn on and off at
any time. You can use the default custom menu or create your
own as described in Chapter 17: Programming.
Turning the Custom When you turn on the custom menu, it replaces the normal toolbar
Menu On and Off menu. When you turn it off, the normal menu returns. For example,
from the Home screen’s normal toolbar menu:
Tip: A custom menu can Unless the menu has been modified,
give you quick access to the default custom menu appears.
commonly used items.
Chapter 17 shows you how ƒ Vars — Common variable
to create custom menus for
names.
the items you use most
often. „ f(x) — Function names such as
f(x), g(x), and f(x,y).
… Solve — Items related to solving equations.
† Units — Common units such as _m, _ft, and _l.
‡ Symbols — Symbols such as #, ?, and ~.
2 ˆ Internat’l — Common accented characters such as è, é, and ê.
2 ‰ Tools — ClrHome, NewProb, and CustmOff.
Restoring the If a custom menu other than the default is displayed and you want to
Default Custom restore the default:
Menu 1. From the Home screen, use 2 ¾ to turn off the custom
menu and display the Home screen’s normal toolbar menu.
Note: The previous custom 2. Display the 2 ˆ Clean Up
menu is erased. If that menu toolbar menu, and select
was created with a program
(Chapter 17), it can be 3:Restore custom default.
recreated later by running
This pastes the commands used
the program again.
to create the default menu into
the entry line.
3. Press ¸ to execute the commands and restore the default.
OPER.DOC TI-89: Operating the TI-89 (US English) Joan Terrell Revised: 07/29/98 1:03 PM Printed: 07/29/98 1:04 PM Page 30 of 36
Selecting an Application
The TI-89 has different applications that let you solve and
explore a variety of problems. You can select an application
from a menu, or you can access commonly used applications
directly from the keyboard.
OPER.DOC TI-89: Operating the TI-89 (US English) Joan Terrell Revised: 07/29/98 1:03 PM Printed: 07/29/98 1:04 PM Page 31 of 36
From the Keyboard You can access commonly used applications from the keyboard.
Application: Press:
TI-89
Home "
Y= Editor ¥# Applications listed
above ƒ, „ etc.,
Window Editor ¥$ are printed in the
same color as ¥.
Graph ¥%
Table Setup ¥&
Table Screen ¥' F1
Y= WINDOW
F2
GRAPH
F3
TBLSet
F4
TABLE
F5
OPER.DOC TI-89: Operating the TI-89 (US English) Joan Terrell Revised: 07/29/98 1:03 PM Printed: 07/29/98 1:04 PM Page 32 of 36
Setting Modes
Checking Mode Press 3 to display the MODE dialog box, which lists the modes
Settings and their current settings.
There are three pages of mode listings.
Press ƒ, „, or … to quickly display a
particular page.
Note: Modes that are not currently valid are dimmed. For example,
on Page 2, Split 2 App is not valid when Split Screen = FULL. When you
scroll through the list, the cursor skips dimmed settings.
OPER.DOC TI-89: Operating the TI-89 (US English) Joan Terrell Revised: 07/29/98 1:03 PM Printed: 07/29/98 1:04 PM Page 33 of 36
Overview of the Mode Description
Modes Graph Type of graphs to plot: FUNCTION, PARAMETRIC,
POLAR, SEQUENCE, 3D, or DE.
Note: For detailed Current Folder used to store and recall variables. Unless you
information about a Folder have created additional folders, only the MAIN folder
particular mode, look in the is available. Refer to “Using Folders to Store
applicable section of this
guidebook. Independent Sets of Variables” in Chapter 5.
Display Maximum number of digits (FLOAT) or fixed number
Digits of decimal places (FIX) displayed in a floating-point
result. Regardless of the setting, the total number of
displayed digits in a floating-point result cannot
exceed 12. Refer to page 24.
Angle Units in which angle values are interpreted and
displayed: RADIAN or DEGREE.
Exponential Notation used to display results: NORMAL,
Format SCIENTIFIC, or ENGINEERING. Refer to page 24.
Complex Format used to display complex results, if any:
Format REAL (complex results are not displayed unless you
use a complex entry), RECTANGULAR, or POLAR.
Vector Format used to display 2- and 3-element vectors:
Format RECTANGULAR, CYLINDRICAL, or SPHERICAL.
Pretty Print Turns the pretty print display feature OFF or ON.
Refer to page 22.
Split Screen Splits the screen into two parts and specifies how the
parts are arranged: FULL (no split screen),
TOP-BOTTOM, or LEFT-RIGHT. Refer to Chapter 14.
OPER.DOC TI-89: Operating the TI-89 (US English) Joan Terrell Revised: 07/29/98 1:03 PM Printed: 07/29/98 1:04 PM Page 34 of 36
Using 2 ˆ Clean Up to Start a New Problem
OPER.DOC TI-89: Operating the TI-89 (US English) Joan Terrell Revised: 07/29/98 1:03 PM Printed: 07/29/98 1:04 PM Page 35 of 36
Using the Catalog to Select a Command
Selecting from the When you select a command, its name is inserted in the entry line at
CATALOG the cursor location. Therefore, you should position the cursor as
necessary before selecting the command.
1. Press ½.
Note: The first time you ¦ Commands are listed in alphabetical
display the CATALOG, it order. Commands that do not start
starts at the top of the list.
The next time you display with a letter (+, %, ‡, G, etc.) are at the
the CATALOG, it starts at end of the list.
the same place you left it.
¦ To exit the CATALOG without
selecting a command, press N.
Help Information For the command indicated by ú, the status line shows the required
about Parameters and optional parameters, if any, and their type.
Indicated command
and its parameters
Brackets [ ] indicate
optional parameters.
Note: For details about the From the example above, the syntax for factor is:
parameters, refer to that
command’s description in factor(expression) required
Appendix A. — or —
factor(expression,variable) optional
OPER.DOC TI-89: Operating the TI-89 (US English) Joan Terrell Revised: 07/29/98 1:03 PM Printed: 07/29/98 1:04 PM Page 36 of 36
Storing and Recalling Variable Values
Data Types You can save any TI-89 data type as a variable. For a list of data
types, refer to getType() in Appendix A. Some examples are:
[1 0 0],
100
Matrices 3 4 6
Character strings “Hello”, “The answer is:”, “xmin/10”
Pictures
OPER.DOC TI-89: Operating the TI-89 (US English) Joan Terrell Revised: 07/29/98 1:03 PM Printed: 07/29/98 1:04 PM Page 37 of 36
Storing a Value in a 1. Enter the value you want to store, which can be an expression.
Variable 2. Press §. The store symbol (! ) is displayed.
3. Type the variable
name, using j as
necessary.
4. Press ¸.
To store to a variable temporarily, you can use the “with” operator.
Refer to “Substituting Values and Setting Constraints” in Chapter 3.
Recalling a In some cases, you may want to use a variable’s actual value in an
Variable’s Value expression instead of the variable name.
1. Press 2 £ to
display a dialog box.
2. Type the variable
name, using j as
necessary.
3. Press ¸ twice.
In this example, the value stored in num1 will be inserted at the
cursor position in the entry line.
OPER.DOC TI-89: Operating the TI-89 (US English) Joan Terrell Revised: 07/29/98 1:03 PM Printed: 07/29/98 1:04 PM Page 38 of 36
Reusing a Previous Entry or the Last Answer
You can reuse a previous entry by reexecuting the entry “as is”
or by editing the entry and then reexecuting it. You can also
reuse the last calculated answer by inserting it into a new
expression.
Reusing the When you press ¸ to evaluate an expression, the TI-89 leaves
Expression on the that expression on the entry line and highlights it. You can type over
Entry Line the entry, or you can reuse it as necessary.
For example, using a variable, find the square of 1, 2, 3, etc.
Tip: Reexecuting an entry 1. Set the initial variable value.
“as is” is useful for iterative
calculations that involve 0 § 2 ™ NUM ¸
variables.
2. Enter the variable
expression.
NUM j « 1 §
2 ™ NUM 2 Ë
NUM j Z 2 ¸
3. Reenter to increment
the variable and
calculate the square.
¸
¸
Tip: Editing an entry lets Using the equation A=pr 2, use trial and error to find the radius of a
you make minor changes circle that covers 200 square centimeters.
without retyping the entire
entry. 1. Use 8 as your first
guess.
8 § jR 2 Ë
2 ãpä jR Z 2 ¸
OPER.DOC TI-89: Operating the TI-89 (US English) Joan Terrell Revised: 07/29/98 1:03 PM Printed: 07/29/98 1:04 PM Page 39 of 36
Recalling a Previous You can recall any previous entry that is stored in the history area,
Entry even if the entry has scrolled off the top of the screen. The recalled
entry replaces whatever is currently shown on the entry line. You can
then reexecute or edit the recalled entry.
For example:
Recalling the Last Each time you evaluate an expression, the TI-89 stores the answer to
Answer the variable ans(1). To insert this variable in the entry line, press
2 ±.
For example, calculate the area of a garden plot that is 1.7 meters by
4.2 meters. Then calculate the yield per square meter if the plot
produces a total of 147 tomatoes.
1. Find the area.
1.7 p 4.2 ¸
Note: Refer to ans() in Just as ans(1) always contains the last answer, ans(2), ans(3), etc.,
Appendix A. also contain previous answers. For example, ans(2) contains the
next-to-last answer.
OPER.DOC TI-89: Operating the TI-89 (US English) Joan Terrell Revised: 07/29/98 1:03 PM Printed: 07/29/98 1:04 PM Page 40 of 36
Auto-Pasting an Entry or Answer from the History Area
You can select any entry or answer from the history area and
“auto-paste” a duplicate of it on the entry line. This lets you
insert a previous entry or answer into a new expression
without having to retype the previous information.
Auto-Pasting an 1. On the entry line, place the cursor where you want to insert the
Entry or Answer entry or answer.
2. Press C to move the cursor up into the history area. This
highlights the last answer.
Tip: To cancel auto-paste 3. Use C and D to highlight the entry or answer to auto-paste.
and return to the entry line,
press N. ¦ C moves from
answer to entry
up through the
history area.
Tip: To view an entry or
answer too long for one line ¦ You can use C to
(indicated by ú at the end of highlight items
the line), use B and A or
2 B and 2 A. that have scrolled
off the screen.
4. Press ¸.
The highlighted item
is inserted in the
entry line.
This pastes the entire entry or answer. If you need only a part of the
entry or answer, edit the entry line to delete the unwanted parts.
OPER.DOC TI-89: Operating the TI-89 (US English) Joan Terrell Revised: 07/29/98 1:03 PM Printed: 07/29/98 1:04 PM Page 41 of 36
Status Line Indicators in the Display
Status Line
Indicators
Current Modifier Graph Battery
Folder Key Number
Angle Graph
Mode Mode
History Pairs,
Exact/Approx
Busy/Pause,
Mode
Locked Variable
Indicator Meaning
Current Shows the name of the current folder. Refer to
Folder “Using Folders to Store Independent Sets of
Variables” in Chapter 5. MAIN is the default folder
that is set up automatically when you use the TI-89.
Note: To cancel 2, ¥, Modifier Key Shows which modifier key is in effect, as described
j, or ¤, press the same below.
key again or press a
different modifer key. 2ND 2 — will use the second function of the next key
you press.
Note: If the next key you 2 ¥ — will use the diamond feature of the next key
press does not have a you press.
diamond feature or an
associated letter, the key j — will type the lowercase letter for the next
performs its normal
key you press.
operation.
2 ™ — lowercase alpha-lock is on. Until you
turn this off, will type the lowercase letter for each
key you press. To cancel alpha-lock, press j.
¤ j — uppercase ALPHA-lock is on. Until you
turn this off, will type the uppercase letter for each
key you press. To cancel ALPHA-lock, press j.
+ ¤ — will type the uppercase letter for the next key
you press. You can use ¤ to type a letter without
having to use j.
Angle Shows the units in which angle values are
Mode interpreted and displayed. To change the Angle
mode, use the 3 key.
RAD Radians
DEG Degrees
OPER.DOC TI-89: Operating the TI-89 (US English) Joan Terrell Revised: 07/29/98 1:03 PM Printed: 07/29/98 1:04 PM Page 42 of 36
Indicator Meaning
Exact/ Shows how answers are calculated and displayed.
Approx Refer to page 22. To change the Exact/Approx mode,
Mode use the 3 key.
AUTO Auto
EXACT Exact
APPROX Approximate
Graph If the screen is split to show two independent graphs,
Number this indicates which graph is active (GR1 or GR2).
Graph Indicates the type of graphs that can be plotted. To
Mode change the Graph mode, use the 3 key.
FUNC y(x) functions
3D z(x,y) 3D equations
OPER.DOC TI-89: Operating the TI-89 (US English) Joan Terrell Revised: 07/29/98 1:03 PM Printed: 07/29/98 1:04 PM Page 43 of 36
Finding the Software Version and Serial Number
When Do You Need The information on the About screen is intended for situations
this Information? such as:
¦ If you obtain new or upgraded software for your TI-89, you may
need to provide your current software version and/or the serial
number of your unit.
¦ If you have difficulties with your TI-89 and need to contact
technical support, knowing the software version may make it
easier to diagnose the problem.
OPER.DOC TI-89: Operating the TI-89 (US English) Joan Terrell Revised: 07/29/98 1:03 PM Printed: 07/29/98 1:04 PM Page 44 of 36
Chapter 3:
Symbolic Manipulation
Preview of Symbolic Manipulation ....................................................... 46
Using Undefined or Defined Variables ................................................. 47
SYMBOLIC.DOC TI-89: Symbolic Manipulation (US English) Joan Terrell Revised: 08/03/98 1:51 PM Printed: 08/03/98 2:13 PM Page 45 of 24
Preview of Symbolic Manipulation
Solve the system of equations 2x ì 3y = 4 and ë x + 7y = ë 12. Solve the first equation so
that x is expressed in terms of y. Substitute the expression for x into the second equation,
and solve for the value of y. Then substitute the y value back into the first equation to
solve for the value of x.
SYMBOLIC.DOC TI-89: Symbolic Manipulation (US English) Joan Terrell Revised: 07/29/98 1:07 PM Printed: 07/29/98 1:07 PM Page 46 of 24
Using Undefined or Defined Variables
How Undefined and When you enter an expression that contains a variable, the TI-89
Defined Variables treats the variable in one of two ways.
Are Treated ¦ If the variable is
undefined, it is
treated as an
algebraic symbol.
¦ If the variable is
defined (even if
defined as 0), its value
replaces the variable.
Tip: When defining a To see why this is important, suppose you want to find the first
variable, it’s a good practice derivative of xò with respect to x.
to use more than one
character in the name. ¦ If x is undefined, the
Leave one-character names
result is in the form
undefined for symbolic
calculations. you probably
expected.
¦ If x is defined, the
result may be in a
form you did not
expect.
Unless you knew that 5 had been
stored to x previously, the answer
75 could be misleading.
If undefined, “NONE ” is
displayed.
SYMBOLIC.DOC TI-89: Symbolic Manipulation (US English) Joan Terrell Revised: 07/29/98 1:07 PM Printed: 07/29/98 1:07 PM Page 47 of 24
Deleting a Defined You can “undefine” a defined variable by deleting it.
Variable
To delete: Do this:
One or more Use the DelVar function.
specified variables
Note: For information about All one-letter From the Home screen, press 2 ˆ
folders, refer to Chapter 5. variables (a – z) 1:Clear a-z. You will be prompted to press
in the current folder ¸ to confirm the deletion.
SYMBOLIC.DOC TI-89: Symbolic Manipulation (US English) Joan Terrell Revised: 07/29/98 1:07 PM Printed: 07/29/98 1:07 PM Page 48 of 24
Using Exact, Approximate, and Auto Modes
EXACT When Exact/Approx = EXACT, the TI-89 uses exact rational arithmetic
Setting with up to 614 digits in the numerator and 614 digits in the
denominator. The EXACT setting:
¦ Transforms irrational numbers to standard forms as much as
possible without approximating them. For example, 12
transforms to 2 3 and ln(1000) transforms to 3 ln(10).
¦ Converts floating-point numbers to rational numbers. For
example, 0.25 transforms to 1/4.
The functions solve, cSolve, zeros, cZeros, factor, ∫, fMin, and fMax
use only exact symbolic algorithms. These functions do not compute
approximate solutions in the EXACT setting.
¦ Some equations, such as 2 –x = x, have solutions that cannot all be
finitely represented in terms of the functions and operators on the
TI-89.
¦ With this kind of equation, EXACT will not compute approximate
solutions. For example, 2 –x = x has an approximate solution
x ≈ 0.641186, but it is not displayed in the EXACT setting.
Advantages Disadvantages
Results are exact. As you use more complicated rational
numbers and irrational constants,
calculations can:
¦ Use more memory, which may
exhaust the memory before a solution
is completed.
¦ Take more computing time.
¦ Produce bulky results that are harder
to comprehend than a floating-point
number.
SYMBOLIC.DOC TI-89: Symbolic Manipulation (US English) Joan Terrell Revised: 07/29/98 1:07 PM Printed: 07/29/98 1:07 PM Page 49 of 24
APPROXIMATE When Exact/Approx = APPROXIMATE, the TI-89 converts rational
Setting numbers and irrational constants to floating-point. However, there
are exceptions:
¦ Certain built-in functions that expect one of their arguments to be
an integer will convert that number to an integer if possible. For
example: d(y(x), x, 2.0) transforms to d(y(x), x, 2).
¦ Whole-number floating-point exponents are converted to integers.
For example: x 2.0 transforms to x 2 even in the APPROXIMATE
setting.
Functions such as solve and ∫ (integrate) can use both exact symbolic
and approximate numeric techniques. These functions skip all or
some of their exact symbolic techniques in the APPROXIMATE
setting.
Advantages Disadvantages
If exact results are not Results with undefined variables or
needed, this might save functions often exhibit incomplete
time and/or use less cancellation. For example, a coefficient
memory than the EXACT that should be 0 might be displayed as a
setting. small magnitude such as 1.23457E-11.
Approximate results are Symbolic operations such as limits and
sometimes more integration are less likely to give
compact and satisfying results in the APPROXIMATE
comprehensible than setting.
exact results.
Approximate results are sometimes less
If you do not plan to use compact and comprehensible than exact
symbolic computations, results. For example, you may prefer to
approximate results are see 1/7 instead of .142857.
similar to familiar,
traditional numeric
calculators.
SYMBOLIC.DOC TI-89: Symbolic Manipulation (US English) Joan Terrell Revised: 07/29/98 1:07 PM Printed: 07/29/98 1:07 PM Page 50 of 24
AUTO Setting When Exact/Approx = AUTO, the TI-89 uses exact rational arithmetic
wherever all of the operands are rational numbers. Otherwise,
floating-point arithmetic is used after converting any rational
operands to floating-point. In other words, floating-point is
“infectious.” For example:
1/2 − 1/3 transforms to 1/6
but
0.5 − 1/3 transforms to .16666666666667
Advantages Disadvantages
You see exact results If you are interested only in exact
when practical, and results, some time may be wasted
approximate numeric seeking approximate results.
results when exact
If you are interested only in approximate
results are impractical.
results, some time may be wasted
You can often control seeking exact results. Moreover, you
the format of a result by might exhaust the memory seeking those
choosing to enter some exact results.
coefficients as either
rational or floating-point
numbers.
SYMBOLIC.DOC TI-89: Symbolic Manipulation (US English) Joan Terrell Revised: 07/29/98 1:07 PM Printed: 07/29/98 1:07 PM Page 51 of 24
Automatic Simplification
Default All of the following rules are applied automatically. You do not see
Simplification Rules intermediate results.
¦ If a variable has a defined value, that value replaces the variable.
If the variable is
defined in terms of
another variable, the
variable is replaced
with its “lowest
level” value (called
infinite lookup).
Note: For information about Default simplification does not modify variables that use
folders, refer to Chapter 5. pathnames to indicate a folder. For example, x+class\x does not
simplify to 2x.
Note: Refer to “Delayed ¦ For functions:
Simplification for Certain
Built-In Functions” on − The arguments are simplified. (Some built-in functions delay
page 54. simplification of some of their arguments.)
− If the function is a built-in or user-defined function, the
function definition is applied to the simplified arguments.
Then the functional form is replaced with this result.
¦ Numeric
subexpressions are
combined.
¦ Products and sums
are sorted into order.
Products and sums involving undefined variables are sorted
according to the first letter of the variable name.
− Undefined variables r through z are assumed to be true
variables, and are placed in alphabetical order at the
beginning of a sum.
− Undefined variables a through q are assumed to represent
constants, and are placed in alphabetical order at the end of a
sum (but before numbers).
¦ Similar factors and
similar terms are
collected.
SYMBOLIC.DOC TI-89: Symbolic Manipulation (US English) Joan Terrell Revised: 07/29/98 1:07 PM Printed: 07/29/98 1:07 PM Page 52 of 24
¦ Identities involving
zeros and ones are
exploited.
If a floating-point whole
number is entered as an
exponent, it is treated as
an integer (and does not
produce a floating-point ¦ Polynomial greatest
result).
common divisors are
canceled.
¦ Polynomials are
expanded unless
no key cancellation
can occur.
No key cancellation
¦ Common
denominators are
formed unless no
key cancellation
can occur.
No key cancellation
¦ Functional identities
are exploited. For
example:
ln(2x) = ln(2) + ln(x)
and
sin(x)ñ + cos(x)ñ = 1
SYMBOLIC.DOC TI-89: Symbolic Manipulation (US English) Joan Terrell Revised: 07/29/98 1:07 PM Printed: 07/29/98 1:07 PM Page 53 of 24
Delayed Simplification for Certain Built-In Functions
Functions that Use Functions that use delayed simplification have a required var
Delayed argument that performs the function with respect to a variable.
Simplification These functions have at least two arguments with the general form:
function(expression, var [, ... ])
x cannot be simplified.
x is simplified to t. The
function uses tò.
x is simplified to t. The
function uses tò, and
then substitutes 5 for t.
SYMBOLIC.DOC TI-89: Symbolic Manipulation (US English) Joan Terrell Revised: 07/29/98 1:07 PM Printed: 07/29/98 1:07 PM Page 54 of 24
Substituting Values and Setting Constraints
SYMBOLIC.DOC TI-89: Symbolic Manipulation (US English) Joan Terrell Revised: 07/29/98 1:07 PM Printed: 07/29/98 1:07 PM Page 55 of 24
Be Aware of the ¦ Substitution occurs Only x 2 was replaced, not x 4 .
sin(x)|x=x+1
SYMBOLIC.DOC TI-89: Symbolic Manipulation (US English) Joan Terrell Revised: 07/29/98 1:07 PM Printed: 07/29/98 1:07 PM Page 56 of 24
Specifying Domain Many identities and transformations are valid for only a particular
Constraints domain. For example:
ln(xù y) = ln(x) + ln(y) only if x and/or y is not negative
sinê (sin(q)) = q only if q ‚ ë p/2 and q p/2 radians
SYMBOLIC.DOC TI-89: Symbolic Manipulation (US English) Joan Terrell Revised: 07/29/98 1:07 PM Printed: 07/29/98 1:07 PM Page 57 of 24
Overview of the Algebra Menu
You can use the „ Algebra toolbar menu to select the most
commonly used algebraic functions.
SYMBOLIC.DOC TI-89: Symbolic Manipulation (US English) Joan Terrell Revised: 07/29/98 1:07 PM Printed: 07/29/98 1:07 PM Page 58 of 24
Menu Item Description
Trig Displays the submenu:
SYMBOLIC.DOC TI-89: Symbolic Manipulation (US English) Joan Terrell Revised: 07/29/98 1:07 PM Printed: 07/29/98 1:07 PM Page 59 of 24
Common Algebraic Operations
expand(expression [,var])
for partial expansion with respect to a variable
Factor x 5 ì 1. Then
expand the result.
Notice that factor and
expand perform
opposite operations.
Finding Prime The factor ( „ 2) function lets you do more than simply factor an
Factors of a Number algebraic polynomial.
You can find prime
factors of a rational
number (either an
integer or a ratio of
integers).
Finding Partial With the expand ( „ 3) function’s optional var value, you can do a
Expansions partial expansion that collects similar powers of a variable.
Do a full expansion of
(xñ ì x) (yñ ì y) with
respect to all variables.
Then do a partial
expansion with respect
to x.
SYMBOLIC.DOC TI-89: Symbolic Manipulation (US English) Joan Terrell Revised: 07/29/98 1:07 PM Printed: 07/29/98 1:07 PM Page 60 of 24
Solving an Equation Use the solve ( „ 1) function to solve an equation for a specified
variable.
solve(equation, var)
Solve x + y ì 5 = 2x ì 5y
for x.
Notice that solve displays
only the final result.
To see intermediate results, you can manually solve the equation
step-by-step.
x « y | 5 Á 2x | 5y
Note: An operation such as
|2x
| 2 X subtracts 2x from
both sides. |y
«5
p·1
Method Example
Use the solve function solve(2xì3y=4 and ëx+7y=ë12,{x,y})
for a one-step solution.
Use the solve function Refer to the preview at the beginning of
Note: The simult and rref with substitution ( | ) this chapter, which solved for x = ë 8/11 and
matrix functions are not on for step-by-step y = ë 20/11.
the „ Algebra menu. Use
2 I 4 or ½. manipulation.
Use the simult Enter the coefficients as a matrix and the
function with a matrix. results as a constant column matrix.
SYMBOLIC.DOC TI-89: Symbolic Manipulation (US English) Joan Terrell Revised: 07/29/98 1:07 PM Printed: 07/29/98 1:07 PM Page 61 of 24
Finding the Zeros of Use the zeros ( „ 4) function.
an Expression zeros(expression, var)
In this example:
31 x + 60
¦ 8
is the remainder of x 4ì 2xñ +x divided by 2xñ +x+4.
xñ x
¦ 2
ì ì 15/8 is the quotient.
4
SYMBOLIC.DOC TI-89: Symbolic Manipulation (US English) Joan Terrell Revised: 07/29/98 1:07 PM Printed: 07/29/98 1:07 PM Page 62 of 24
Overview of the Calc Menu
SYMBOLIC.DOC TI-89: Symbolic Manipulation (US English) Joan Terrell Revised: 07/29/98 1:07 PM Printed: 07/29/98 1:07 PM Page 63 of 24
Common Calculus Operations
To get d , use … 1 or 2 =.
Do not simply type j [D] on
the keyboard.
Finding a Limit Use the limit ( … 3) function.
limit(expression, var, point [,direction])*
negative = from left
positive = from right
omitted or 0 = both
SYMBOLIC.DOC TI-89: Symbolic Manipulation (US English) Joan Terrell Revised: 07/29/98 1:07 PM Printed: 07/29/98 1:07 PM Page 64 of 24
User-Defined Functions and Symbolic Manipulation
Undefined You can use functions such as f(x), g(t), r(q), etc., that have not been
Functions assigned a definition. These “undefined” functions yield symbolic
results. For example:
Use DelVar to ensure
that f(x) and g(x) are not
defined.
Tip: To select d from the Then find the derivative
Calc toolbar menu, press of f(x)ù g(x) with respect
… 1 (or press 2 = on to x.
the keyboard).
SYMBOLIC.DOC TI-89: Symbolic Manipulation (US English) Joan Terrell Revised: 07/29/98 1:07 PM Printed: 07/29/98 1:07 PM Page 65 of 24
Multi-Statement vs. Multi-statement user-defined functions should be used as an
Single-Statement argument for numeric functions (such as nDeriv and nInt) only.
Functions In some cases, you may be able to create an equivalent single-
statement function. For example, consider a piecewise function with
two pieces.
Tip: You can use your ¦ If you were to create a multi-statement user-defined function with
computer keyboard to type the form:
lengthy text and then use
TI-GRAPH LINK to send it to
Func
the TI-89. See Chapter 18
If x<0 Then
for more information. Define y1(x)=Func:If x<0 Then: ... :EndFunc
Return ë x
Else
Return 5cos(x)
EndIf
EndFunc
Press ¥ ¸ for a
floating-point result.
SYMBOLIC.DOC TI-89: Symbolic Manipulation (US English) Joan Terrell Revised: 07/29/98 1:07 PM Printed: 07/29/98 1:07 PM Page 66 of 24
If You Get an Out-of-Memory Error
(a+b)ñ + (a+b)ñ
− In the expression , substitute c for (a+b) and
1 ì (a+b)ñ
cñ + cñ
use . In the solution, replace c with (a+b).
1 ì cñ
SYMBOLIC.DOC TI-89: Symbolic Manipulation (US English) Joan Terrell Revised: 07/29/98 1:07 PM Printed: 07/29/98 1:07 PM Page 67 of 24
Special Constants Used in Symbolic Manipulation
ˆ, e ˆ represents infinity,
and e represents the
Tip: For ˆ, press ¥ *. constant 2.71828...
(base of the natural
logarithms).
Tip: For e, press ¥ s.
This is not the same as These constants are
typing j [E] on the
keyboard.
often used in entries as
well as results.
Mathematically undefined
„ˆ (undetermined sign)
Non-unique limit
SYMBOLIC.DOC TI-89: Symbolic Manipulation (US English) Joan Terrell Revised: 07/29/98 1:07 PM Printed: 07/29/98 1:07 PM Page 68 of 24
Chapter 4:
Constants and Measurement Units
Preview of Constants and Measurement Units ................................... 70
Remaining categories
list available units.
Page 3 ( …) of the MODE dialog box lets you select from three
systems of measurement to specify the default units for displayed
results.
UNITS.DOC TI-89: Constants and Measurement Units (US English) Susan Gullord Revised: 08/03/98 1:52 PM Printed: 08/03/98 2:14 PM Page 69 of 12
Preview of Constants and Measurement Units
UNITS.DOC TI-89: Constants and Measurement Units (US English) Susan Gullord Revised: 07/29/98 12:42 PM Printed: 07/29/98 1:10 PM Page 70 of 12
Entering Constants or Units
From a Menu The following shows how to select a unit, but you can use the same
general procedure to select a constant.
From the Home screen:
1. Type the value or
6.3
expression.
2. Press 2 9 to display
the UNITS dialog box.
Tip: Use 2 D and 3. Use D and C to move the
2 C to scroll one page at cursor to the applicable
a time through the
categories. category.
4. To select the highlighted
Note: If you created a user-
defined unit for an existing unit, press ¸.
category (page 76), it is
listed in the menu. – or –
To select a different unit,
press B. Then highlight the
applicable unit, and press
¸.
You can also move the cursor by
The selected unit is placed in pressing j and typing the first
the entry line. Constant and letter of a unit.
unit names always begin with 6.3_pF
an underscore ( _ ).
From the Keyboard If you know the abbreviation that the TI-89 uses for a particular
constant or unit (refer to the list that begins on page 77), you can
type it directly from the keyboard. For example:
Note: You can type units in 256_m
either uppercase or
lowercase characters. For _ , press ¥ .
UNITS.DOC TI-89: Constants and Measurement Units (US English) Susan Gullord Revised: 07/29/98 12:42 PM Printed: 07/29/98 1:10 PM Page 71 of 12
Combining Multiple You may need to combine two or more units from different
Units categories.
Using Parentheses In a calculation, you may need to use parentheses ( ) to group a value
with Units in a and its units so that they are evaluated properly. This is particularly
Calculation true for division problems. For example:
To calculate: Enter:
Tip: If you have any doubt
100_m _m
about how a value and its 100_m/(2_s) 50.ø _s
units will be evaluated, 2_s
group them within You must use parentheses for (2_s).
parentheses ( ). This is important for division.
100_m/2_s 50.ø_mø_s
Here’s why you get unexpected units if you do not use parentheses.
In a calculation, a unit is treated similar to a variable. For example:
100_m is treated as 100ù _m
and
2_s is treated as 2ù _s
UNITS.DOC TI-89: Constants and Measurement Units (US English) Susan Gullord Revised: 07/29/98 12:42 PM Printed: 07/29/98 1:10 PM Page 72 of 12
Converting from One Unit to Another
For All Units Except If you use a unit in a calculation, it is converted and displayed
Temperature automatically in the current default unit for that category, unless you
use the 4 conversion operator as described later. The following
examples assume that your default units are set to the SI system of
metric units (page 75).
Note: For a list of pre- To multiply 20 times
defined units, see page 77. 6 kilometers.
Tip: Press 2 9 to 20ù 6_km
select available units from a Shown in the default unit for
For _ , press ¥ . Length, (_m in SI system).
menu.
If you want to convert to a unit other than the default, use the
4 conversion operator.
expression_unit1 4 _unit2
For 4, press 2 .
UNITS.DOC TI-89: Constants and Measurement Units (US English) Susan Gullord Revised: 07/29/98 12:42 PM Printed: 07/29/98 1:10 PM Page 73 of 12
To enter meters per second
squared:
27_m/_s^2
For Temperature To convert a temperature value, you must use tmpCnv() instead of
Values the 4 operator.
tmpCnv(expression_¡tempUnit1, _¡tempUnit2)
For ¡, press 2 “.
For _ , press ¥ .
0 100
_oC
_oF
32 212
100_oC
0 100
_oC
_oF
32 212
180_o F
UNITS.DOC TI-89: Constants and Measurement Units (US English) Susan Gullord Revised: 07/29/98 12:42 PM Printed: 07/29/98 1:10 PM Page 74 of 12
Setting the Default Units for Displayed Results
All results involving units are displayed in the default unit for
that category. For example, if the default unit for Length is _m,
any length result is displayed in meters (even if you entered
_km or _ft in the calculation).
What is the NONE Many categories let you select NONE as the default unit.
Default? This means that results in that
category are displayed in the
default units of its components.
Note: NONE is not available For example, Area = Lengthñ, so
for base categories such as Length is the component of
Length and Mass that have
no components. Area.
UNITS.DOC TI-89: Constants and Measurement Units (US English) Susan Gullord Revised: 07/29/98 12:42 PM Printed: 07/29/98 1:10 PM Page 75 of 12
Creating Your Own User-Defined Units
Why Use Your Own Some example reasons to create a unit are:
Units? ¦ You want to enter length values in dekameters. Define 10_m as a
new unit named _dm.
Note: If you create a user- ¦ Instead of entering _m/_s 2 as an acceleration unit, you define that
defined unit for an existing combination of units as a single unit named _ms2.
category, you can select it
from the 2 9 menu. ¦ You want to calculate how many times someone blinks. You can
But you cannot use 3 to
use _blinks as a valid unit without defining it. This “standalone”
select the unit as a default
for displayed results. unit is treated similar to a variable that is not defined. For
instance, 3_blinks is treated the same as 3a.
Rules for User- The naming rules for units are similar to variables.
Defined Unit Names ¦ Can have up to 8 characters.
¦ First character must be an underscore. (For _ , press ¥ .)
¦ Second character can be any valid variable name character
except _ or a digit. For example, _9f is not valid.
¦ Remaining characters (up to 6) can be any valid variable name
character except an underscore.
Defining a Unit Define a unit the same way you store to a variable.
definition ! _newUnit
For _ , press ¥ .
For !, press §.
UNITS.DOC TI-89: Constants and Measurement Units (US English) Susan Gullord Revised: 07/29/98 12:42 PM Printed: 07/29/98 1:10 PM Page 76 of 12
List of Pre-Defined Constants and Units
Defaults for SI and The SI and ENG/US systems of measurement use built-in default
ENG/US units. In this section, the built-in defaults are indicated by (SI) and
(ENG/US). In some categories, both systems use the same default.
For a description of the NONE default, refer to page 75. Notice that
some categories do not have default units.
UNITS.DOC TI-89: Constants and Measurement Units (US English) Susan Gullord Revised: 07/29/98 12:42 PM Printed: 07/29/98 1:10 PM Page 77 of 12
Charge _coul....... coulomb (SI) (ENG/US)
UNITS.DOC TI-89: Constants and Measurement Units (US English) Susan Gullord Revised: 07/29/98 12:42 PM Printed: 07/29/98 1:10 PM Page 78 of 12
Mass _amu....... atomic mass unit _oz...........ounce
_gm ......... gram _slug .......slug
_kg .......... kilogram (SI) _ton.........ton
_lb ........... pound (ENG/US) _tonne ....metric ton
_mg ......... milligram _tonUK ...long ton
_mton ..... metric ton
UNITS.DOC TI-89: Constants and Measurement Units (US English) Susan Gullord Revised: 07/29/98 12:42 PM Printed: 07/29/98 1:10 PM Page 79 of 12
80 Chapter 4: Constants and Measurement Units
UNITS.DOC TI-89: Constants and Measurement Units (US English) Susan Gullord Revised: 07/29/98 12:42 PM Printed: 07/29/98 1:10 PM Page 80 of 12
Chapter 5:
Additional Home Screen Topics
Saving the Home Screen Entries as a Text Editor Script................... 82
Cutting, Copying, and Pasting Information.......................................... 83
ADDLHOME.DOC TI-89: Additional Home Screen Topics (US English) Joan Terrell Revised: 08/03/98 12:57 PM Printed: 08/03/98 2:15 PM Page 81 of 12
Saving the Home Screen Entries as a Text Editor Script
To save all the entries in the history area, you can save the
Home screen to a text variable. When you want to reexecute
those entries, use the Text Editor to open the variable as a
command script.
Item Description
Type Automatically set as Text and cannot be changed.
Note: For information about Folder Shows the folder in which the text variable will be
folders, refer to page 88. stored. To use a different folder, press B to display a
menu of existing folders. Then select a folder.
Variable Type a valid, unused variable name.
Restoring the Saved Because the entries are stored in a script format, you cannot restore
Entries them from the Home screen. (On the Home screen’s ƒ toolbar
menu, 1:Open is not available.) Instead:
Note: For complete 1. Use the Text Editor to open the variable containing the saved
information on using the Home screen entries.
Text Editor and executing a
command script, refer to The saved entries are listed as a series of command lines that you
Chapter 18.
can execute individually, in any order.
2. Starting with the cursor on
the first line of the script,
press † repeatedly to
execute the commands line
by line.
3. Display the restored Home
screen.
This split screen shows the Text Editor
(with the command line script) and the
restored Home screen.
ADDLHOME.DOC TI-89: Additional Home Screen Topics (US English) Joan Terrell Revised: 07/29/98 1:13 PM Printed: 07/29/98 1:15 PM Page 82 of 12
Cutting, Copying, and Pasting Information
Cutting or Copying When you cut or copy information, that information is placed in the
Information to the clipboard. However, cutting deletes the information from its current
Clipboard location (used to move information) and copying leaves the
information.
1. Highlight the characters that you want to cut or copy.
In the entry line, move the cursor to either side of the characters.
Hold ¤ and press A or B to highlight characters to the left or
right of the cursor, respectively.
Tip: You can press ¥ 5, 2. Press ƒ and select 4:Cut or 5:Copy.
¥ 6, or ¥ 7 to cut,
copy or paste, respectively,
without having to use the Clipboard = (empty or the previous contents)
ƒ toolbar menu.
ADDLHOME.DOC TI-89: Additional Home Screen Topics (US English) Joan Terrell Revised: 07/29/98 1:13 PM Printed: 07/29/98 1:15 PM Page 83 of 12
Pasting Information A paste operation inserts the contents of the clipboard at the current
from the Clipboard cursor location on the entry line. This does not change the contents
of the clipboard.
1. Position the cursor where you want to paste the information.
2. Press ƒ and select 6:Paste (or use the ¥ 7 shortcut).
Example: Copying Suppose you want to reuse an expression without retyping it each
and Pasting time.
1. Copy the applicable information.
a. Use ¤ B or ¤ A to
highlight the
expression.
b. Press ¥ 6.
c. For this example, press ¸ to evaluate the entry.
Tip: You can also reuse an 2. Paste the copied information into a new entry.
expression by creating a
user-defined function. Refer a. Press … 1 to select the d differentiate function.
to page 85.
b. Press ¥ 7 to
paste the copied
expression.
Tip: By copying and 3. Paste the copied information into a different application.
pasting, you can easily
transfer information from a. Press ¥ # to display the Y= Editor.
one application to another.
b. Press ¸ to
define y1(x).
c. Press ¥ 7 to
paste.
d. Press ¸ to
save the new
definition.
ADDLHOME.DOC TI-89: Additional Home Screen Topics (US English) Joan Terrell Revised: 07/29/98 1:13 PM Printed: 07/29/98 1:15 PM Page 84 of 12
Creating and Evaluating User-Defined Functions
ADDLHOME.DOC TI-89: Additional Home Screen Topics (US English) Joan Terrell Revised: 07/29/98 1:13 PM Printed: 07/29/98 1:15 PM Page 85 of 12
Creating a Multi- You can also create a user-defined function whose definition consists
Statement Function of multiple statements. The definition can include many of the
control and decision-making structures (If, ElseIf, Return, etc.) used
Note: For information about in programming.
similarities and differences
between functions and For example, suppose you want to create a function that sums a
programs, refer to series of reciprocals based on an entered integer (n):
Chapter 17.
1 1 1
+ + ... +
n nì 1 1
Multi-statement functions
Tip: It’s easier to create a On the Home screen: show as “Func”.
complicated multi-statement
function in the Program
Editor than on the Home Enter a multi-statement
screen. Refer to Chapter 17. function on one line. Be
sure to include colons.
Evaluating a You can use a user-defined function just as you would any other
Function function. Evaluate it by itself or include it in another expression.
ADDLHOME.DOC TI-89: Additional Home Screen Topics (US English) Joan Terrell Revised: 07/29/98 1:13 PM Printed: 07/29/98 1:15 PM Page 86 of 12
Displaying and To: Do this:
Editing a Function Display a list of all Press 2 ° to display the VAR-LINK
Definition user-defined functions screen. (Refer to Chapter 21.)
You may need to use the „ View toolbar
menu to specify the Function variable type.
Display the definition From the VAR-LINK screen, highlight the
of a user-defined function and press 2 ˆ Contents.
function
— or —
From the Home screen, press 2 £.
Type the function name but not the
argument list (such as xroot), and press
¸ twice.
— or —
From the Program Editor, open the
function. (Refer to Chapter 17.)
Edit the definition From the Home screen, use 2 £ to
display the definition. Edit the definition as
necessary. Then use § or Define to save
the new definition.
— or —
From the Program Editor, open the
function, edit it, and save your changes.
(Refer to Chapter 17.)
ADDLHOME.DOC TI-89: Additional Home Screen Topics (US English) Joan Terrell Revised: 07/29/98 1:13 PM Printed: 07/29/98 1:15 PM Page 87 of 12
Using Folders to Store Independent Sets of Variables
The TI-89 has one built-in folder named MAIN, and all variables
are stored in that folder. By creating additional folders, you can
store independent sets of user-defined variables (including
user-defined functions).
Folders and Folders give you a convenient way to manage variables by organizing
Variables them into related groups. For example, you can create separate
folders for different TI-89 applications (Math, Text Editor, etc.) or
classes.
¦ You can store a user- Example of variables that
defined variable in any can be stored in MAIN only
existing folder. Window variables
¦ A system variable or a (xmin, xmax, etc.)
variable with a reserved Table setup variables
name, however, can be (TblStart, @Tbl, etc.)
stored in the MAIN folder Y= Editor functions
only. (y1(x), etc.)
DAVE
You cannot create a folder User-defined
within another folder. a=3, b=1, c=2
f(x)=x 2 +6
MATH
User-defined
a=42, c=6
f(x)=3x 2 +4x+25
ADDLHOME.DOC TI-89: Additional Home Screen Topics (US English) Joan Terrell Revised: 07/29/98 1:13 PM Printed: 07/29/98 1:15 PM Page 88 of 12
Creating a Folder Enter the NewFold command.
from the Home NewFold folderName
Screen
Folder name to create. This new folder is set
automatically as the current folder.
Creating a Folder The VAR-LINK screen, which is described in Chapter 21, lists the
from the VAR-LINK existing variables and folders.
Screen 1. Press 2 °.
2. Press ƒ Manage and select
5:Create Folder.
3. Type a unique folder name up to
eight characters, and press
¸ twice.
After you create a new folder from VAR-LINK, that folder is not
automatically set as the current folder.
When you execute setFold, it returns the name of the folder that was
previously set as the current folder.
ADDLHOME.DOC TI-89: Additional Home Screen Topics (US English) Joan Terrell Revised: 07/29/98 1:13 PM Printed: 07/29/98 1:15 PM Page 89 of 12
Using Variables in You can access a user-defined variable or function that is not in the
Different Folders current folder. Specify the complete pathname instead of only the
variable name.
A pathname has the form:
Tip: For “ \ ”, press folderName \ variableName
2 Ì (2nd function of ©). — or —
folderName \ functionName
For example:
MATH
a=42
f(x)=3x 2 +4x+25
Note: For information about To see a list of existing folders and variables, press 2 °. On
the VAR-LINK screen, refer the VAR-LINK screen, you can highlight a variable and press ¸ to
to Chapter 21.
paste that variable name to the Home screen’s entry line. If you paste
a variable name that is not in the current folder, the pathname
(folderName\variableName) is pasted.
Deleting a Folder Before deleting a folder, you must delete all the variables stored in
from the Home that folder.
Screen ¦ To delete a variable, enter the DelVar command.
DelVar var1 [, var2] [, var3] ...
Note: You cannot delete the ¦ To delete an empty folder, enter the DelFold command.
MAIN folder.
DelFold folder1 [, folder2] [, folder3] ...
Deleting a Folder VAR-LINK lets you delete a folder and its variables at the same time.
from the VAR-LINK Refer to Chapter 21.
Screen 1. Press 2 °.
2. Select the item(s) to delete and press ƒ 1 or 0. (If you use † to
select a folder, its variables are selected automatically.)
3. Press ¸ to confirm the deletion.
ADDLHOME.DOC TI-89: Additional Home Screen Topics (US English) Joan Terrell Revised: 07/29/98 1:13 PM Printed: 07/29/98 1:15 PM Page 90 of 12
If an Entry or Answer Is “Too Big”
If an Entry or Move the cursor into the history area, and highlight the entry or
Answer Is answer. Then use the cursor pad to scroll. For example:
“Too Long” ¦ The following shows an answer that is too long for one line.
Press A Press B
or 2 A or 2 B
to scroll to scroll
left. right.
¦ The following shows an answer that is both too long and too tall
to be displayed on the screen.
Press ¤ C to scroll up.
If There Is not A <<...>> symbol is displayed when the TI-89 does not have enough
Enough Memory free memory to display the answer.
For example:
ADDLHOME.DOC TI-89: Additional Home Screen Topics (US English) Joan Terrell Revised: 07/29/98 1:13 PM Printed: 07/29/98 1:15 PM Page 91 of 12
92 Chapter 5: Additional Home Screen Topics
ADDLHOME.DOC TI-89: Additional Home Screen Topics (US English) Joan Terrell Revised: 07/29/98 1:13 PM Printed: 07/29/98 1:15 PM Page 92 of 12
Chapter 6:
Basic Function Graphing
Preview of Basic Function Graphing.................................................... 94
Overview of Steps in Graphing Functions ........................................... 95
Y= Editor shows
an algebraic
representation.
Graph screen
shows a graphic
representation.
BASFUN.DOC TI-89: Basic Function Graphing (US English) Joan Terrell Revised: 08/03/98 1:02 PM Printed: 08/03/98 2:21 PM Page 93 of 22
Preview of Basic Function Graphing
Graph a circle of radius 5, centered on the origin of the coordinate system. View the circle
using the standard viewing window (ZoomStd). Then use ZoomSqr to adjust the viewing
window.
6. Select ZoomSqr. „5
ZoomSqr increases the range along the
x axis so that circles and squares are
shown in correct proportion.
Note: There is a gap between the top and bottom halves of the circle because each half is a
separate function. The mathematical endpoints of each half are (-5,0) and (5,0). Depending on
the viewing window, however, the plotted endpoints for each half may be slightly different from
their mathematical endpoints.
BASFUN.DOC TI-89: Basic Function Graphing (US English) Joan Terrell Revised: 07/29/98 1:13 PM Printed: 07/29/98 1:14 PM Page 94 of 22
Overview of Steps in Graphing Functions
Graphing Functions
Set Graph mode (3)
to FUNCTION.
Also set Angle mode,
if necessary.
Define functions on
Y= Editor (¥ #).
BASFUN.DOC TI-89: Basic Function Graphing (US English) Joan Terrell Revised: 07/29/98 1:13 PM Printed: 07/29/98 1:14 PM Page 95 of 22
Setting the Graph Mode
Graph Mode 1. Press 3 to display the MODE dialog box, which shows the
current mode settings.
2. Set the Graph mode to FUNCTION. Refer to “Setting Modes” in
Chapter 2.
3D z(x,y) 3D equations
DIFFERENTIAL EQUATION y'(t) differential equations
Angle Mode When using trigonometric functions, set the Angle mode for the units
(RADIAN or DEGREE) in which you want to enter and display angle
values.
Checking the To see the current Graph mode and Angle mode, check the status line
Status Line at the bottom of the screen.
Angle Graph
Mode Mode
BASFUN.DOC TI-89: Basic Function Graphing (US English) Joan Terrell Revised: 07/29/98 1:13 PM Printed: 07/29/98 1:14 PM Page 96 of 22
Defining Functions for Graphing
BASFUN.DOC TI-89: Basic Function Graphing (US English) Joan Terrell Revised: 07/29/98 1:13 PM Printed: 07/29/98 1:14 PM Page 97 of 22
Clearing a Function From the Y= Editor:
To erase: Do this:
A function from Highlight the function and press 0 or M.
the function list
A function from Press M once or twice (depending on the
the entry line cursor’s location) and then press ¸.
Note: ƒ 8 does not erase All functions Press ƒ and then select 8:Clear Functions.
any stat plots (Chapter 16). When prompted for confirmation, press ¸.
From the Home You can also define and evaluate a function from the Home screen or
Screen or a a program.
Program ¦ Use the Define and Graph commands. Refer to:
− “Graphing a Function Defined on the Home Screen” and
Tip: User-defined functions “Graphing a Piecewise Defined Function” in Chapter 12.
can have almost any name.
However, if you want them − “Overview of Entering a Function” in Chapter 17.
to appear in the Y= Editor,
use function names y1(x), ¦ Store an expression directly to a function variable. Refer to:
y2(x), etc. − “Storing and Recalling Variable Values” in Chapter 2.
− “Creating and Evaluating User-Defined Functions” in
Chapter 5.
BASFUN.DOC TI-89: Basic Function Graphing (US English) Joan Terrell Revised: 07/29/98 1:13 PM Printed: 07/29/98 1:14 PM Page 98 of 22
Selecting Functions to Graph
From the Home You can also select or deselect functions from the Home screen or a
Screen or a Program program.
¦ Use the FnOn and FnOff commands (available from the Home
screen’s † Other toolbar menu) for functions. Refer to
Appendix A.
¦ Use the PlotsOn and PlotsOff commands for stat plots. Refer to
Appendix A.
BASFUN.DOC TI-89: Basic Function Graphing (US English) Joan Terrell Revised: 07/29/98 1:13 PM Printed: 07/29/98 1:14 PM Page 99 of 22
Setting the Display Style for a Function
For each defined function, you can set a style that specifies
how that function will be graphed. This is useful when graphing
multiple functions. For example, set one as a solid line,
another as a dotted line, etc.
Style Description
Tip: To set Line as the style Line Connects plotted points with a line. This is the default.
for all functions, press
‡ and select 4:Reset Dot Displays a dot at each plotted point.
Styles.
Square Displays a solid box at each plotted point.
Thick Connects plotted points with a thick line.
Animate A round cursor moves along the leading edge of the
graph but does not leave a path.
Path A round cursor moves along the leading edge of the
graph and does leave a path.
Above Shades the area above the graph.
Below Shades the area below the graph.
If You Use Above or The TI-89 has four shading patterns, used on a rotating basis. If you
Below Shading set one function as shaded, it uses the first pattern. The next shaded
function uses the second pattern, etc. The fifth shaded function
reuses the first pattern.
From the Home You can also set a function’s style from the Home screen or a
Screen or a Program program. Refer to the Style command in Appendix A.
BASFUN.DOC TI-89: Basic Function Graphing (US English) Joan Terrell Revised: 07/29/98 1:13 PM Printed: 07/29/98 1:14 PM Page 100 of 22
Defining the Viewing Window
xmax
ymin yscl
Variable Description
xmin, xmax, Boundaries of the viewing window.
ymin, ymax
Tip: To turn off tick marks, xscl, yscl Distance between tick marks on the x and y axes.
set xscl=0 and/or yscl=0.
xres Sets pixel resolution (1 through 10) for function graphs.
The default is 2.
Tip: Small values of xres ¦ At 1, functions are evaluated and graphed at each
improve the graph’s pixel along the x axis.
resolution but may reduce
the graphing speed. ¦ At 10, functions are evaluated and graphed at every
10th pixel along the x axis.
From the Home You can also store values directly to the Window variables from the
Screen or a Program Home screen or a program. Refer to “Storing and Recalling Variable
Values” in Chapter 2.
BASFUN.DOC TI-89: Basic Function Graphing (US English) Joan Terrell Revised: 07/29/98 1:13 PM Printed: 07/29/98 1:14 PM Page 101 of 22
Changing the Graph Format
Displaying Graph From the Y= Editor, Window Editor, or Graph screen, press ƒ and
Format Settings select 9:Format.
Format Description
Coordinates Shows cursor coordinates in rectangular (RECT)
or polar (POLAR) form, or hides (OFF) the
coordinates.
Graph Order Graphs functions one at a time (SEQ) or all at the
same time (SIMUL).
Tip: To turn off tick marks, Grid Shows (ON) or hides (OFF) grid points that
define the viewing window correspond to the tick marks on the axes.
so that xscl and/or yscl = 0.
Axes Shows (ON) or hides (OFF) the x and y axes.
Leading Cursor Shows (ON) or hides (OFF) a reference cursor
that tracks the functions as they are graphed.
Labels Shows (ON) or hides (OFF) labels for the x and y
axes.
BASFUN.DOC TI-89: Basic Function Graphing (US English) Joan Terrell Revised: 07/29/98 1:13 PM Printed: 07/29/98 1:14 PM Page 102 of 22
Graphing the Selected Functions
If You Need to Depending on various settings, a function may be graphed such that
Change the Viewing it is too small, too large, or offset too far to one side of the screen. To
Window correct this:
¦ Redefine the viewing window with different boundaries
(page 101).
¦ Use a Zoom operation (page 107).
Smart Graph When you display the Graph screen, the Smart Graph feature displays
the previous window contents immediately, provided nothing has
changed that requires regraphing.
Smart Graph updates the window and regraphs only if you have:
¦ Changed a mode setting that affects graphing, a function’s
graphing attribute, a Window variable, or a graph format.
¦ Selected or deselected a function or stat plot. (If you only select a
new function, Smart Graph adds that function to the Graph screen.)
¦ Changed the definition of a selected function or the value of a
variable in a selected function.
¦ Cleared a drawn object (Chapter 12).
¦ Changed a stat plot definition (Chapter 16).
BASFUN.DOC TI-89: Basic Function Graphing (US English) Joan Terrell Revised: 07/29/98 1:13 PM Printed: 07/29/98 1:14 PM Page 103 of 22
Displaying Coordinates with the Free-Moving Cursor
Free-Moving Cursor When you first display the Graph screen, no cursor is visible. To
display the cursor, press a cursor arrow. The cursor moves from the
center of the screen, and its coordinates are displayed.
Tip: To hide the cursor and To move the free-moving cursor: Press:
its coordinates temporarily,
press M, N, or ¸. To an adjoining pixel A cursor arrow for any
The next time you move the direction.
cursor, it moves from its last
position. In increments of 10 pixels 2 and then a cursor arrow.
When you move the cursor to a pixel that appears to be “on” the
function, it may be near the function but not on it.
BASFUN.DOC TI-89: Basic Function Graphing (US English) Joan Terrell Revised: 07/29/98 1:13 PM Printed: 07/29/98 1:14 PM Page 104 of 22
Tracing a Function
The trace cursor moves only from plotted point to plotted point
along the function, not from pixel to pixel.
Each displayed y value is calculated from the x value; that is, y=yn(x).
If the function is undefined at an x value, the y value is blank.
Tip: Use QuickCenter, You can continue to trace a function that goes above or below the
described on the next page, viewing window. You cannot see the cursor as it moves in that
to trace a function that goes
above or below the window. “off the screen” area, but the displayed coordinate values show its
correct coordinates.
BASFUN.DOC TI-89: Basic Function Graphing (US English) Joan Terrell Revised: 07/29/98 1:13 PM Printed: 07/29/98 1:14 PM Page 105 of 22
Moving from Press C or D to move to the previous or next selected function at
Function to the same x value. The new function number is shown on the screen.
Function The “previous or next” function is based on the order of the selected
functions in the Y= Editor, not the appearance of the functions as
graphed on the screen.
Automatic Panning If you trace a function off the left or right edge of the screen, the
viewing window automatically pans to the left or right. There is a
slight pause while the new portion of the graph is drawn.
Using QuickCenter If you trace a function off the top or bottom of the viewing window,
you can press ¸ to center the viewing window on the cursor
location.
BASFUN.DOC TI-89: Basic Function Graphing (US English) Joan Terrell Revised: 07/29/98 1:13 PM Printed: 07/29/98 1:14 PM Page 106 of 22
Using Zooms to Explore a Graph
The „ Zoom toolbar menu has several tools that let you
adjust the viewing window. You can also save a viewing
window for later use.
Overview of the Press „ from the Y= Editor, Window Editor, or Graph screen.
Zoom Menu
Procedures for using ZoomBox,
ZoomIn, ZoomOut, ZoomStd, Memory,
Note: If you select a Zoom
tool from the Y=Editor or and SetFactors are given later in this
Window Editor, the TI-89 section.
automatically displays the
Graph screen. For more information about the
other items, refer to Appendix A.
BASFUN.DOC TI-89: Basic Function Graphing (US English) Joan Terrell Revised: 07/29/98 1:13 PM Printed: 07/29/98 1:14 PM Page 107 of 22
Zooming In with a 1. From the „ Zoom menu, select 1:ZoomBox.
Zoom Box The screen prompts for 1st Corner?
2. Move the cursor to any corner of the box you want to define, and
then press ¸.
y1(x)=2øsin(x)
Tip: To move the cursor in The cursor changes to a small
larger increments, use square, and the screen
2 B, 2 D, etc.
prompts for 2nd Corner?
3. Move the cursor to the
opposite corner of the zoom
box.
As you move the cursor, the
box stretches.
Tip: You can cancel
ZoomBox by pressing 4. When you have outlined the
N before you press ¸.
area you want to zoom in on,
press ¸.
The Graph screen shows the
zoomed area.
BASFUN.DOC TI-89: Basic Function Graphing (US English) Joan Terrell Revised: 07/29/98 1:13 PM Printed: 07/29/98 1:14 PM Page 108 of 22
Changing Zoom The Zoom factors define the magnification and reduction used by
Factors ZoomIn and ZoomOut.
1. From the „ Zoom menu, select C:SetFactors to display the ZOOM
FACTORS dialog box.
Saving or Recalling After using various Zoom tools, you may want to return to a previous
a Viewing Window viewing window or save the current one.
1. From the „ Zoom menu, select
B:Memory to display its
submenu.
2. Select the applicable item.
Select: To:
1:ZoomPrev Return to the viewing window displayed before
the previous zoom.
Note: You can store only 2:ZoomSto Save the current viewing window. (The current
one set of Window variable Window variable values are stored to the system
values at a time. Storing a
new set overwrites the old variables zxmin, zxmax, etc.)
set.
3:ZoomRcl Recall the viewing window last stored with
ZoomSto.
Restoring the You can restore the Window variables to their default values at any
Standard Viewing time.
Window From the „ Zoom menu, select 6:ZoomStd.
BASFUN.DOC TI-89: Basic Function Graphing (US English) Joan Terrell Revised: 07/29/98 1:13 PM Printed: 07/29/98 1:14 PM Page 109 of 22
Using Math Tools to Analyze Functions
BASFUN.DOC TI-89: Basic Function Graphing (US English) Joan Terrell Revised: 07/29/98 1:13 PM Printed: 07/29/98 1:14 PM Page 110 of 22
Finding y(x) at a 1. From the Graph screen, press ‡ and select 1:Value.
Specified Point 2. Type the x value, which must be a real value between xmin and
xmax. The value can be an expression.
y1(x)=1.25xùcos(x)
3. Press ¸.
Tip: You can also display The cursor moves to that
function coordinates by x value on the first function
tracing the function ( …), selected in the Y= Editor, and
typing an x value, and
pressing ¸. its coordinates are displayed.
4. Press D or C to move the cursor between functions at the
entered x value. The corresponding y value is displayed.
Note: If you press A or B, the free-moving cursor appears. You
may not be able to move it back to the entered x value.
Finding a Zero, 1. From the Graph screen, press ‡ and select 2:Zero, 3:Minimum, or
Minimum, or 4:Maximum.
Maximum within an 2. As necessary, use D and C to select the applicable function.
Interval
3. Set the lower bound for x. Either use A and B to move the cursor
to the lower bound or type its x value.
Tip: Typing x values is a
quick way to set bounds. 4. Press ¸. A 4 at the top of the screen marks the lower bound.
5. Set the upper bound, and
press ¸.
The cursor moves to the
solution, and its coordinates
are displayed.
Finding the 1. From the Graph screen, press ‡ and select 5:Intersection.
Intersection of Two 2. Select the first function, using D or C as necessary, and press
Functions within an ¸. The cursor moves to the next graphed function.
Interval
3. Select the second function, and press ¸.
4. Set the lower bound for x. Either use A and B to move the cursor
to the lower bound or type its x value.
5. Press ¸. A 4 at the top of the screen marks the lower bound.
6. Set the upper bound, and y2(x)=2xì7
press ¸.
The cursor moves to the
intersection, and its
coordinates are displayed.
BASFUN.DOC TI-89: Basic Function Graphing (US English) Joan Terrell Revised: 07/29/98 1:13 PM Printed: 07/29/98 1:14 PM Page 111 of 22
Finding the 1. From the Graph screen, press ‡ and select 6:Derivatives. Then
Derivative (Slope) at select 1:dy/dx from the submenu.
a Point 2. As necessary, use D and C to select the applicable function.
3. Set the derivative point.
Either move the cursor to the
point or type its x value.
4. Press ¸.
The derivative at that point is
displayed.
Finding the 1. From the Graph screen, press ‡ and select 7:‰f(x)dx.
Numerical Integral 2. As necessary, use D and C to select the applicable function.
over an Interval
3. Set the lower limit for x. Either use A and B to move the cursor to
the lower limit or type its x value.
Tip: Typing x values is a
quick way to set the limits. 4. Press ¸. A 4 at the top of the screen marks the lower limit.
5. Set the upper limit, and press
¸.
Tip: To erase the shaded The interval is shaded, and its
area, press † (ReGraph). approximate numerical
integral is displayed.
Finding an Inflection 1. From the Graph screen, press ‡ and select 8:Inflection.
Point within an 2. As necessary, use D and C to select the applicable function.
Interval
3. Set the lower bound for x. Either use A and B to move the cursor
to the lower bound or type its x value.
4. Press ¸. A 4 at the top of the screen marks the lower bound.
5. Set the upper bound, and
press ¸.
The cursor moves to the
inflection point (if any) within
the interval, and its
coordinates are displayed.
BASFUN.DOC TI-89: Basic Function Graphing (US English) Joan Terrell Revised: 07/29/98 1:13 PM Printed: 07/29/98 1:14 PM Page 112 of 22
Finding the 1. From the Graph screen, press ‡ and select 9:Distance.
Distance between 2. As necessary, use D and C to select the function for the first
Two Points point.
3. Set the first point. Either use A or B to move the cursor to the
point or type its x value.
4. Press ¸. A + marks the point.
5. If the second point is on a different function, use D and C to
select the function.
6. Set the second point. (If you use the cursor to set the point, a line
is drawn as you move the cursor.)
7. Press ¸.
The distance between the two
points is displayed, along with
the connecting line.
Drawing a Tangent 1. From the Graph screen, press ‡ and select A:Tangent.
Line 2. As necessary, use D and C to select the applicable function.
Tip: To erase a drawn 3. Set the tangent point. Either
tangent line, press † move the cursor to the point
(ReGraph).
or type its x value.
4. Press ¸.
The tangent line is drawn,
and its equation is
displayed.
Finding an Arc 1. From the Graph screen, press ‡ and select B:Arc.
Length 2. As necessary, use D and C to select the applicable function.
3. Set the first point of the arc. Either use A or B to move the cursor
or type the x value.
4. Press ¸. A + marks the first point.
5. Set the second point, and
press ¸.
A + marks the second point,
and the arc length is
displayed.
BASFUN.DOC TI-89: Basic Function Graphing (US English) Joan Terrell Revised: 07/29/98 1:13 PM Printed: 07/29/98 1:14 PM Page 113 of 22
Shading the Area You must have only one function graphed. If you graph two or more
between a Function functions, the Shade tool shades the area between two functions.
and the X Axis 1. From the Graph screen, press ‡ and select C:Shade. The screen
prompts for Above X axis?
2. Select one of the following. To shade the function’s area:
¦ Above the x axis, press ¸.
¦ Below the x axis, press j N.
Note: If you do not press 3. Set the lower bound for x. Either use A and B to move the cursor
A or B, or type an x value to the lower bound or type its x value.
when setting the lower and
upper bound, xmin and 4. Press ¸. A 4 at the top of the screen marks the lower bound.
xmax will be used as the
lower and upper bound, 5. Set the upper bound, and
respectively. press ¸.
Tip: To erase the shaded The bounded area is shaded.
area, press † (ReGraph).
Shading the Area You must have at least two functions graphed. If you graph only one
between Two function, the Shade tool shades the area between the function and
Functions within an the x axis.
Interval 1. From the Graph screen, press ‡ and select C:Shade. The screen
prompts for Above?
2. As necessary, use D or C to select a function. (Shading will be
above this function.)
3. Press ¸. The cursor moves to the next graphed function, and
the screen prompts for Below?
4. As necessary, use D or C to select another function. (Shading
will be below this function.)
5. Press ¸.
Note: If you do not press 6. Set the lower bound for x. Either use A and B to move the cursor
A or B, or type an x value to the lower bound or type its x value.
when setting the lower and
upper bound, xmin and 7. Press ¸. A 4 at the top of the screen marks the lower bound.
xmax will be used as the Below
lower and upper bound, 8. Set the upper bound, and function
respectively. press ¸.
Tip: To erase the shaded The bounded area is shaded.
area, press † (ReGraph).
Above
function
BASFUN.DOC TI-89: Basic Function Graphing (US English) Joan Terrell Revised: 07/29/98 1:13 PM Printed: 07/29/98 1:14 PM Page 114 of 22
Chapter 7:
Parametric Graphing
Preview of Parametric Graphing......................................................... 116
Overview of Steps in Graphing Parametric Equations ..................... 117
x(t) = v 0 t cos q
The graph shows the path of the projectile over time, assuming
that only uniform gravity (no drag forces, etc.) is acting on the
projectile.
PARAM.DOC TI-89: Parametric Graphing (US English) Joan Terrell Revised: 08/03/98 1:53 PM Printed: 08/03/98 2:22 PM Page 115 of 6
Preview of Parametric Graphing
Graph the parametric equations describing the path of a ball kicked at an angle (q) of 60¡
with an initial velocity (v 0) of 15 meters/sec. The gravity constant g = 9.8 meters/sec 2.
Ignoring air resistance and other drag forces, what is the maximum height of the ball and
when does it hit the ground?
PARAM.DOC TI-89: Parametric Graphing (US English) Joan Terrell Revised: 07/29/98 1:16 PM Printed: 07/29/98 1:17 PM Page 116 of 6
Overview of Steps in Graphing Parametric Equations
Graphing
Set Graph mode (3)
Parametric to PARAMETRIC.
Equations Also set Angle mode,
if necessary.
Define x and y
components on
Y= Editor (¥ #).
PARAM.DOC TI-89: Parametric Graphing (US English) Joan Terrell Revised: 07/29/98 1:16 PM Printed: 07/29/98 1:17 PM Page 117 of 6
Differences in Parametric and Function Graphing
This chapter assumes that you already know how to graph y(x)
functions as described in Chapter 6: Basic Function Graphing.
This section describes the differences that apply to parametric
equations.
Setting the Use 3 to set Graph = PARAMETRIC before you define equations or
Graph Mode set Window variables. The Y= Editor and the Window Editor let you
enter information for the current Graph mode setting only.
Defining Parametric To graph a parametric equation, you must define both its x and y
Equations on the components. If you define only one component, the equation cannot
Y= Editor be graphed. (However, you can use single components to generate
an automatic table as described in Chapter 13.)
Tip: You can use the Define The Y= Editor maintains an independent function list for each Graph
command from the Home mode setting. For example, suppose:
screen (see Appendix A) to
define functions and ¦ In FUNCTION graphing mode, you define a set of y(x) functions.
equations for any graphing
You change to PARAMETRIC graphing mode and define a set of x
mode, regardless of the
current mode. and y components.
¦ When you return to FUNCTION graphing mode, your y(x) functions
are still defined in the Y= Editor. When you return to
PARAMETRIC graphing mode, your x and y components are still
defined.
PARAM.DOC TI-89: Parametric Graphing (US English) Joan Terrell Revised: 07/29/98 1:16 PM Printed: 07/29/98 1:17 PM Page 118 of 6
Selecting To graph a parametric equation, select either its x or y component or
Parametric both. When you enter or edit a component, it is selected
Equations automatically.
Selecting x and y components separately can be useful for tables as
described in Chapter 13. With multiple parametric equations, you can
select and compare all the x components or all the y components.
Selecting the You can set the style for either the x or y component. For example, if
Display Style you set the x component to Dot, the TI-89 automatically sets the
y component to Dot.
Tip: Use the Animate and The Above and Below styles are not available for parametric
Path styles for interesting equations and are dimmed on the Y= Editor’s 2 ˆ Style toolbar
projectile-motion effects.
menu.
Variable Description
tmin, tmax Smallest and largest t values to evaluate.
Note: You can use a tstep Increment for the t value. Parametric equations are
negative tstep. If so, tmin evaluated at:
must be greater than tmax.
x(tmin) y(tmin)
x(tmin+tstep) y(tmin+tstep)
x(tmin+2(tstep)) y(tmin+2(tstep))
... not to exceed ... ... not to exceed ...
x(tmax) y(tmax)
Standard values (set when you select 6:ZoomStd from the „ Zoom
toolbar menu) are:
You may need to change the standard values for the t variables
(tmin, tmax, tstep) to ensure that enough points are plotted.
PARAM.DOC TI-89: Parametric Graphing (US English) Joan Terrell Revised: 07/29/98 1:16 PM Printed: 07/29/98 1:17 PM Page 119 of 6
Exploring a Graph As in function graphing, you can explore a graph by using the
following tools.
Tip: During a trace, you can … Trace Lets you move the cursor along a graph one tstep at a
also evaluate x(t) and y(t) by time.
typing the t value and
pressing ¸. ¦ When you begin a trace, the cursor is on the first
selected parametric equation at tmin.
Tip: You can use ¦ QuickCenter applies to all directions. If you move
QuickCenter at any time the cursor off the screen (top or bottom, left or
during a trace, even if the right), press ¸ to center the viewing window
cursor is still on the screen.
on the cursor location.
¦ Automatic panning is not available. If you move the
cursor off the left or right side of the screen, the
TI-89 will not automatically pan the viewing
window. However, you can use QuickCenter.
‡ Math Only 1:Value, 6:Derivatives, 9:Distance, A:Tangent, and
B:Arc are available for parametric graphs. These tools
are based on t values. For example:
¦ 1:Value displays x and y values for a specified
t value.
PARAM.DOC TI-89: Parametric Graphing (US English) Joan Terrell Revised: 07/29/98 1:16 PM Printed: 07/29/98 1:17 PM Page 120 of 6
Chapter 8:
Polar Graphing
Preview of Polar Graphing................................................................... 228
x (x,y) x = r cos q rñ = xñ + yñ
x sign(y)ø p
r y = r sin q q = ì tan –1 +
y y 2
You can view the coordinates of any point in either polar (r,q) or
rectangular (x,y) form.
POLAR.DOC TI-89: Polar Graphing (U.S. English) Joan Terrell Revised: 08/03/98 1:58 PM Printed: 08/03/98 2:23 PM Page 121 of 6
Preview of Polar Graphing
The graph of the polar equation A sin Bq forms the shape of a rose. Graph the rose for
A=8 and B=2.5. Then explore the appearance of the rose for other values of A and B.
POLAR.DOC TI-89: Polar Graphing (U.S. English) Joan Terrell Revised: 07/29/98 1:18 PM Printed: 07/29/98 1:19 PM Page 122 of 6
Overview of Steps in Graphing Polar Equations
Graphing Polar
Equations Set Graph mode (3)
to POLAR .
Also set Angle mode,
if necessary.
POLAR.DOC TI-89: Polar Graphing (U.S. English) Joan Terrell Revised: 07/29/98 1:18 PM Printed: 07/29/98 1:19 PM Page 123 of 6
Differences in Polar and Function Graphing
This chapter assumes that you already know how to graph y(x)
functions as described in Chapter 6: Basic Function Graphing.
This section describes the differences that apply to polar
equations.
Setting the Use 3 to set Graph = POLAR before you define equations or set
Graph Mode Window variables. The Y= Editor and the Window Editor let you
enter information for the current Graph mode setting only.
You should also set the Angle mode to the units (RADIAN or DEGREE)
you want to use for q.
Defining Polar
Equations on the
Y= Editor
You can define polar
equations for r1(q)
through r99(q).
Tip: You can use the Define The Y= Editor maintains an independent function list for each Graph
command from the Home mode setting. For example, suppose:
screen (see Appendix A) to
define functions and ¦ In FUNCTION graphing mode, you define a set of y(x) functions.
equations for any graphing
You change to POLAR graphing mode and define a set of r(q)
mode, regardless of the
current mode. equations.
¦ When you return to FUNCTION graphing mode, your y(x) functions
are still defined in the Y= Editor. When you return to POLAR
graphing mode, your r(q) equations are still defined.
Selecting the The Above and Below styles are not available for polar equations and
Display Style are dimmed on the Y= Editor’s 2 ˆ Style toolbar menu.
POLAR.DOC TI-89: Polar Graphing (U.S. English) Joan Terrell Revised: 07/29/98 1:18 PM Printed: 07/29/98 1:19 PM Page 124 of 6
Window Variables The Window Editor maintains an independent set of Window
variables for each Graph mode setting (just as the Y= Editor
maintains independent function lists). Polar graphs use the following
Window variables.
Variable Description
qmin, qmax Smallest and largest q values to evaluate.
Note: You can use a qstep Increment for the q value. Polar equations are
negative qstep. If so, qmin evaluated at:
must be greater than qmax.
r(qmin)
r(qmin+qstep)
r(qmin+2(qstep))
... not to exceed ...
r(qmax)
xmin, xmax, Boundaries of the viewing window.
ymin, ymax
xscl, yscl Distance between tick marks on the x and y axes.
Standard values (set when you select 6:ZoomStd from the „ Zoom
toolbar menu) are:
You may need to change the standard values for the q variables
(qmin, qmax, qstep) to ensure that enough points are plotted.
POLAR.DOC TI-89: Polar Graphing (U.S. English) Joan Terrell Revised: 07/29/98 1:18 PM Printed: 07/29/98 1:19 PM Page 125 of 6
Exploring a Graph As in function graphing, you can explore a graph by using the
following tools. Any displayed coordinates are shown in polar or
rectangular form as set in the graph format.
Tip: During a trace, you can … Trace Lets you move the cursor along a graph one qstep at a
also evaluate r(q) by typing time.
the q value and pressing
¸. ¦ When you begin a trace, the cursor is on the first
selected equation at qmin.
Tip: You can use ¦ QuickCenter applies to all directions. If you move
QuickCenter at any time the cursor off the screen (top or bottom, left or
during a trace, even if the
cursor is still on the screen.
right), press ¸ to center the viewing window
on the cursor location.
¦ Automatic panning is not available. If you move the
cursor off the left or right side of the screen, the
TI-89 will not automatically pan the viewing
window. However, you can use QuickCenter.
‡ Math Only 1:Value, 6:Derivatives, 9:Distance, A:Tangent, and
B:Arc are available for polar graphs. These tools are
based on q values. For example:
¦ 1:Value displays an r value (or x and y, depending
on the graph format) for a specified q value.
¦ 6:Derivatives finds dy/dx or dr/dq at a point defined
for a specified q value.
POLAR.DOC TI-89: Polar Graphing (U.S. English) Joan Terrell Revised: 07/29/98 1:18 PM Printed: 07/29/98 1:19 PM Page 126 of 6
Chapter 9:
Sequence Graphing
Preview of Sequence Graphing............................................................ 128
Overview of Steps in Graphing Sequences ........................................ 129
Note: A recursive sequence ¦ Recursive — The nth term is defined in relation to one or
can reference another more previous terms, represented by u(nì 1), u(nì 2), etc. In
sequence. For example,
u2(n) = nñ +u1(nì 1). addition to previous terms, a recursive sequence may also be
defined in relation to n (such as u(n) = u(nì 1) + n).
In the following example sequence, you cannot calculate u(5)
without first calculating u(1), u(2), u(3), and u(4).
The first term is undefined
since it has no previous term.
u(n) = 2 ù u(nì 1) for n = 1, 2, 3, ... So you must specify an initial
value to use for the first term.
SEQUENCE.DOC Chap 9: Sequence Graphing (US English) Joan Terrell Revised: 08/03/98 1:59 PM Printed: 08/03/98 2:26 PM Page 127 of 14
Preview of Sequence Graphing
A small forest contains 4000 trees. Each year, 20% of the trees will be harvested (with 80%
remaining) and 1000 new trees will be planted. Using a sequence, calculate the number of
trees in the forest at the end of each year. Does it stabilize at a certain number?
SEQUENCE.DOC Chap 9: Sequence Graphing (US English) Joan Terrell Revised: 07/29/98 1:17 PM Printed: 07/29/98 1:18 PM Page 128 of 14
Overview of Steps in Graphing Sequences
To graph sequences, use the same general steps used for y(x)
functions as described in Chapter 6: Basic Function Graphing.
Any differences are described on the following pages.
SEQUENCE.DOC Chap 9: Sequence Graphing (US English) Joan Terrell Revised: 07/29/98 1:17 PM Printed: 07/29/98 1:18 PM Page 129 of 14
Differences in Sequence and Function Graphing
This chapter assumes that you already know how to graph y(x)
functions as described in Chapter 6: Basic Function Graphing.
This section describes the differences that apply to sequences.
Setting the Use 3 to set Graph = SEQUENCE before you define sequences or
Graph Mode set Window variables. The Y= Editor and the Window Editor let you
enter information for the current Graph mode setting only.
Defining Sequences
You can define sequences
on the Y= Editor u1(n) through u99(n).
Note: You must use a list to If a sequence requires more than one initial value, enter them as a list
enter two or more initial enclosed in braces { } and separated by commas.
values.
If a sequence requires an initial value but you do not enter one, you
will get an error when graphing.
Note: Optionally, for On the Y= Editor, 2 ‰ Axes lets you select the axes that are used
sequences only, you can to graph the sequences. For more detailed information, refer to
select different axes for the
graph. TIME is the default. page 134.
Axes Description
TIME Plots n on the x axis and u(n) on the y axis.
WEB Plots u(n-1) on the x axis and u(n) on the y axis.
CUSTOM Lets you select the x and y axes.
Tip: You can use the Define The Y= Editor maintains an independent function list for each Graph
command from the Home mode setting. For example, suppose:
screen (see Appendix A) to
define functions and ¦ In FUNCTION graphing mode, you define a set of y(x) functions.
equations for any graphing
You change to SEQUENCE graphing mode and define a set of u(n)
mode, regardless of the
current mode. sequences.
¦ When you return to FUNCTION graphing mode, your y(x) functions
are still defined in the Y= Editor. When you return to SEQUENCE
graphing mode, your u(n) sequences are still defined.
SEQUENCE.DOC Chap 9: Sequence Graphing (US English) Joan Terrell Revised: 07/29/98 1:17 PM Printed: 07/29/98 1:18 PM Page 130 of 14
Selecting With TIME and WEB axes, the TI-89 graphs only the selected
Sequences sequences. If you entered any sequences that require an initial value,
you must enter the corresponding ui value.
Selecting the Only the Line, Dot, Square, and Thick styles are available for sequence
Display Style graphs. Dot and Square mark only those discrete integer values (in
plotstep increments) at which a sequence is plotted.
Variable Description
Note: Both nmin and nmax nmin, nmax Smallest and largest n values to evaluate. Sequences
must be positive integers, are evaluated at:
although nmin can be zero.
u(nmin)
u(nmin+1)
u(nmin+2)
... not to exceed ...
u(nmax)
Note: nmin, nmax, plotstrt plotstrt The term number that will be the first one plotted
and plotstep must be (depending on plotstep). For example, to begin plotting
integers ‚ 1. If you do not with the 2nd term in the sequence, set plotstrt = 2. The
enter integers, they will be
rounded to integers. first term will be evaluated at nmin but not plotted.
plotstep Incremental n value for graphing only. This does not
affect how the sequence is evaluated, only which points
are plotted. For example, suppose plotstep = 2. The
sequence is evaluated at each consecutive integer but
is plotted at only every other integer.
xmin, xmax, Boundaries of the viewing window.
ymin, ymax
SEQUENCE.DOC Chap 9: Sequence Graphing (US English) Joan Terrell Revised: 07/29/98 1:17 PM Printed: 07/29/98 1:18 PM Page 131 of 14
Window Variables Standard values (set when you select 6:ZoomStd from the „ Zoom
(Continued) toolbar menu) are:
You may need to change the standard values for the n and plot
variables to ensure that sufficient points are plotted.
To see how plotstrt affects a graph, look at the following examples of
a recursive sequence.
plotstrt=9
With TIME axes (from 2 ‰ Axes on the Y= Editor), you can set
plotstrt = 1 and still graph only a selected part of the sequence. Simply
define a viewing window that shows only the area of the coordinate
plane you want to view.
SEQUENCE.DOC Chap 9: Sequence Graphing (US English) Joan Terrell Revised: 07/29/98 1:17 PM Printed: 07/29/98 1:18 PM Page 132 of 14
Exploring a Graph As in function graphing, you can explore a graph by using the
following tools. Any displayed coordinates are shown in rectangular
or polar form as set in the graph format.
SEQUENCE.DOC Chap 9: Sequence Graphing (US English) Joan Terrell Revised: 07/29/98 1:17 PM Printed: 07/29/98 1:18 PM Page 133 of 14
Setting Axes for Time, Web, or Custom Plots
For sequences only, you can select different types of axes for
the graph. Examples of the different types are given later in
this chapter.
Item Description
Axes TIME — Plots u(n) on the y axis and n on the x axis.
To change any of these settings, use the same procedure that you use
to change other types of dialog boxes, such as the MODE dialog box.
SEQUENCE.DOC Chap 9: Sequence Graphing (US English) Joan Terrell Revised: 07/29/98 1:17 PM Printed: 07/29/98 1:18 PM Page 134 of 14
Using Web Plots
A web plot graphs u(n) vs. u(nì 1), which lets you study the
long-term behavior of a recursive sequence. The examples in
this section also show how the initial value can affect a
sequence’s behavior.
Valid Functions for A sequence must meet the following criteria; otherwise, it will not be
Web Plots graphed properly on WEB axes. The sequence:
¦ Must be recursive with only one recursion level;
u(nì 1) but not u(nì 2).
When You Display After you select WEB axes and display the Graph screen, the TI-89:
the Graph Screen ¦ Draws a y=x reference line.
¦ Plots the selected sequence definitions as functions, with u(nì 1)
as the independent variable. This effectively converts a recursive
sequence into a nonrecursive form for graphing.
For example, consider the sequence u1(n) = 5ìu1(nì1) and an
initial value of ui1=1. The TI-89 draws the y=x reference line and then
plots y = 5ì x.
Drawing the Web After the sequence is plotted, the web may be displayed manually or
automatically, depending on how you set Build Web on the AXES
dialog box.
If Build Web = The web is:
TRACE Not drawn until you press …. The web is then
drawn step-by-step as you move the trace cursor
(you must have an initial value before using Trace).
Note: With WEB axes, you cannot trace along the
sequence itself as you do in other graphing modes.
AUTO Drawn automatically. You can then press … to
trace the web and display its coordinates.
The web:
Note: The web starts at 1. Starts on the x axis at the initial value ui (when plotstrt = 1).
plotstrt. The value of n is
incremented by 1 each time 2. Moves vertically (either up or down) to the sequence.
the web moves to the
sequence (plotstep is 3. Moves horizontally to the y=x reference line.
ignored).
4. Repeats this vertical and horizontal movement until n=nmax.
SEQUENCE.DOC Chap 9: Sequence Graphing (US English) Joan Terrell Revised: 07/29/98 1:17 PM Printed: 07/29/98 1:18 PM Page 135 of 14
Example: 1. On the Y= Editor ( ¥ # ), define u1(n) = ë.8u1(nì 1) + 3.6.
Convergence Set initial value ui1 = ë 4.
2. Press 2 ‰. Set Axes = TIME.
3. On the Window Editor nmin=1. xmin=0. ymin= ë 10.
nmax=25. xmax=25. ymax=10.
( ¥ $ ), set the Window plotstrt=1. xscl=1. yscl=1.
variables. plotstep=1.
Tip: When the nc value 8. Press …. As you press B, the trace cursor follows the web. The
changes, the cursor is on screen displays the cursor coordinates nc, xc, and yc (where xc
the sequence. The next time
you press B, nc stays the and yc represent u(nì 1) and u(n), respectively).
same but the cursor is now
As you trace to larger values of nc, you can see xc and yc approach
on the y=x reference line.
the convergence point.
SEQUENCE.DOC Chap 9: Sequence Graphing (US English) Joan Terrell Revised: 07/29/98 1:17 PM Printed: 07/29/98 1:18 PM Page 136 of 14
5. On the Y= Editor, press 2 ‰. Set Axes = WEB and
Build Web = AUTO.
6. On the Window Editor, change nmin=0. xmin= ë 10. ymin= ë 10.
nmax=10. xmax=10. ymax=10.
the Window variables. plotstrt=1. xscl=1. yscl=1.
plotstep=1.
Example: This example shows how the initial value can affect a sequence.
Oscillation 1. On the Y= Editor ( ¥ # ), use the same sequence defined in the
divergence example: u1(n) = 3.2u1(nì 1) ì.8(u1(nì 1)) 2. Set initial
value ui1 = 0.5.
2. Press 2 ‰. Set Axes = TIME.
3. On the Window Editor nmin=1. xmin=0. ymin=0.
nmax=100. xmax=100. ymax=5.
( ¥ $ ), set the plotstrt=1. xscl=10. yscl=1.
Window variables. plotstep=1.
y=x
y=3.2xì.8xñ
8. Press …. Then use B to trace the web.
As you trace to larger values of nc, notice that xc and yc oscillate
between 2.05218 and 3.19782.
Note: By starting the web 9. On the Window Editor, set
plot at a later term, the plotstrt=50. Then regraph the
stable oscillation orbit is
shown more clearly. sequence.
SEQUENCE.DOC Chap 9: Sequence Graphing (US English) Joan Terrell Revised: 07/29/98 1:17 PM Printed: 07/29/98 1:18 PM Page 137 of 14
Using Custom Plots
Example: Predator- Using the predator-prey model in biology, determine the numbers of
Prey Model rabbits and foxes that maintain population equilibrium in a certain
region.
R = Number of rabbits
M = Growth rate of rabbits if there are no foxes (use .05)
K = Rate at which foxes can kill rabbits (use .001)
W = Number of foxes
G = Growth rate of foxes if there are rabbits (use .0002)
D = Death rate of foxes if there are no rabbits (use .03)
R n = R n-1 (1 + M ì K W n-1)
W n = W n-1 (1 + G R n-1 ì D)
u2(n) n
SEQUENCE.DOC Chap 9: Sequence Graphing (US English) Joan Terrell Revised: 07/29/98 1:17 PM Printed: 07/29/98 1:18 PM Page 138 of 14
Using a Sequence to Generate a Table
Example: Fibonacci In a Fibonacci sequence, the first two terms are 1 and 1. Each
Sequence succeeding term is the sum of the two immediately preceding terms.
1. On the Y= Editor
( ¥ # ), define the
sequence and set the
initial values as shown.
SEQUENCE.DOC Chap 9: Sequence Graphing (US English) Joan Terrell Revised: 07/29/98 1:17 PM Printed: 07/29/98 1:18 PM Page 139 of 14
140 Chapter 9: Sequence Graphing
SEQUENCE.DOC Chap 9: Sequence Graphing (US English) Joan Terrell Revised: 07/29/98 1:17 PM Printed: 07/29/98 1:18 PM Page 140 of 14
Chapter 10:
3D Graphing
Preview of 3D Graphing ....................................................................... 142
Overview of Steps in Graphing 3D Equations ................................... 144
3D.DOC TI-89: 3D Graphing (US English) Joan Terrell Revised: 08/03/98 12:56 PM Printed: 08/03/98 2:27 PM Page 141 of 22
Preview of 3D Graphing
Graph the 3D equation z(x,y) = (xò y ì yò x) / 390. Animate the graph by using the cursor
to interactively change the eye Window variable values that control your viewing angle.
Then view the graph in different graph format styles.
3D.DOC TI-89: 3D Graphing (US English) Joan Terrell Revised: 07/29/98 1:11 PM Printed: 07/29/98 1:12 PM Page 142 of 22
Steps Keystrokes Display
CONTOUR LEVELS
(may require extra time
to calculate contours)
WIRE FRAME
Note: You can also display the graph as an implicit plot by using the GRAPH FORMATS dialog
box ( ƒ 9 or ¥ Í ). If you press j [F] to switch between styles, the implicit plot is not
displayed.
3D.DOC TI-89: 3D Graphing (US English) Joan Terrell Revised: 07/29/98 1:11 PM Printed: 07/29/98 1:12 PM Page 143 of 22
Overview of Steps in Graphing 3D Equations
Graphing 3D
Equations Set Graph mode (3)
to 3D.
Also set Angle mode,
if necessary.
Define 3D equations on
Y= Editor (¥ #).
3D.DOC TI-89: 3D Graphing (US English) Joan Terrell Revised: 07/29/98 1:11 PM Printed: 07/29/98 1:12 PM Page 144 of 22
Differences in 3D and Function Graphing
This chapter assumes that you already know how to graph y(x)
functions as described in Chapter 6: Basic Function Graphing.
This section describes the differences that apply to 3D
equations.
Setting the Use 3 to set Graph = 3D before you define equations or set
Graph Mode Window variables. The Y= Editor and the Window Editor let you
enter information for the current Graph mode setting only.
Defining 3D
Equations on the
Y= Editor
You can define 3D
equations for z1(x,y)
through z99(x,y).
Tip: You can use the Define The Y= Editor maintains an independent function list for each Graph
command from the Home mode setting. For example, suppose:
screen (see Appendix A) to
define functions and ¦ In FUNCTION graphing mode, you define a set of y(x) functions.
equations for any graphing
You change to 3D graphing mode and define a set of z(x,y)
mode, regardless of the
current mode. equations.
¦ When you return to FUNCTION graphing mode, your y(x) functions
are still defined in the Y= Editor. When you return to 3D graphing
mode, your z(x,y) equations are still defined.
Selecting the Because you can graph only one 3D equation at a time, display styles
Display Style are not available. On the Y= Editor, the 2 ˆ Style toolbar menu is
dimmed.
For 3D equations, however, you can use ¥ Í or ƒ 9 to set the Style
format to WIRE FRAME or HIDDEN SURFACE. Refer to “Changing the
Axes and Style Formats” on page 153.
3D.DOC TI-89: 3D Graphing (US English) Joan Terrell Revised: 07/29/98 1:11 PM Printed: 07/29/98 1:12 PM Page 145 of 22
Window Variables The Window Editor maintains an independent set of Window
variables for each Graph mode setting (just as the Y= Editor
maintains independent function lists). 3D graphs use the following
Window variables.
Variable Description
eyeq, eyef, Angles (always in degrees) used to view the graph.
eyeψ Refer to “Rotating and/or Elevating the Viewing Angle”
on page 150.
xmin, xmax, Boundaries of the viewing cube.
ymin, ymax,
zmin, zmax
Note: If you enter a xgrid, ygrid The distance between xmin and xmax and between ymin
fractional number for xgrid and ymax is divided into the specified number of grids.
or ygrid, it is rounded to the
nearest whole number ‚ 1.
The z(x,y) equation is evaluated at each grid point
where the grid lines (or grid wires) intersect.
Note: The 3D mode does
not have scl Window The incremental value along x and y is calculated as:
variables, so you cannot set
tick marks on the axes. xmax ì xmin ymax ì ymin
x increment = y increment =
xgrid ygrid
z(xmin,ymin) z(xmin,ymax)
z(xmax,ymin) z(xmax,ymax)
Standard values (set when you select 6:ZoomStd from the „ Zoom
toolbar menu) are:
Note: Increasing the grid You may need to increase the standard values for the grid variables
variables decreases the (xgrid, ygrid) to ensure that enough points are plotted.
graphing speed.
3D.DOC TI-89: 3D Graphing (US English) Joan Terrell Revised: 07/29/98 1:11 PM Printed: 07/29/98 1:12 PM Page 146 of 22
Setting the Graph The Axes and Style formats are specific to the 3D graphing mode.
Format Refer to “Changing the Axes and Style Formats” on page 153.
Exploring a Graph As in function graphing, you can explore a graph by using the
following tools. Any displayed coordinates are shown in rectangular
or cylindrical form as set in the graph format. (In 3D graphing,
cylindrical coordinates are shown when you use ¥ Í to set
Coordinates = POLAR.)
3D.DOC TI-89: 3D Graphing (US English) Joan Terrell Revised: 07/29/98 1:11 PM Printed: 07/29/98 1:12 PM Page 147 of 22
Moving the Cursor in 3D
How to Move the On a 3D surface, the cursor always follows along a grid wire.
Cursor
Cursor Key Moves the cursor to the next grid point in the:
Note: You can move the B Positive x direction
cursor only within the x and y
boundaries set by Window A Negative x direction
variables xmin, xmax, ymin, C Positive y direction
and ymax.
D Negative y direction
Simple Example of The following graph shows a sloped plane that has the equation
Moving the Cursor z1(x,y) = ë (x + y) / 2. Suppose you want to trace around the displayed
boundary.
When you press …, the trace cursor appears at
the midpoint of the xy grid. Use the cursor pad to
move the cursor to any edge.
B moves in a
positive x direction, D moves in a
Tip: By displaying and up to xmax. negative y direction,
labeling the axes, you can back to ymin.
more easily see the pattern
in the cursor movement.
C moves in a
positive y direction, A moves in a negative
up to ymax. x direction, back to
xmin.
Tip: To move grid points When the trace cursor is on an interior point in the displayed plane,
closer together, you can the cursor moves from one grid point to the next along one of the
increase Window variables
xgrid and ygrid. grid wires. You cannot move diagonally across the grid.
Notice that the grid wires may not appear parallel to the axes.
3D.DOC TI-89: 3D Graphing (US English) Joan Terrell Revised: 07/29/98 1:11 PM Printed: 07/29/98 1:12 PM Page 148 of 22
Example of the On more complex shapes, the cursor may appear as if it is not on a
Cursor on a Hidden grid point. This is an optical illusion caused when the cursor is on a
Surface hidden surface.
For example, consider a saddle shape z1(x,y) = (xñ ì yñ ) / 3. The
following graph shows the view looking down the y axis.
Now look at the same shape at 10¡ from the x axis (eyeq = 10).
You can move the cursor so that it If you cut away the front side, you
does not appear to be on a grid can see the cursor is actually on a
point. grid point on the hidden back side.
Example of an “Off Although the cursor can move only along a grid wire, you will see
the Curve” Cursor many cases where the cursor does not appear to be on the 3D
surface at all. This occurs when the z axis is too short to show z(x,y)
for the corresponding x and y values.
For example, suppose you trace the paraboloid z(x,y) = xñ + .5yñ
graphed with the indicated Window variables. You can easily move
the cursor to a position such as:
Trace cursor
Valid trace
coordinates
Tip: QuickCenter lets you Although the cursor is actually tracing the paraboloid, it appears off
center the viewing cube on the curve because the trace coordinates:
the cursor’s location. Simply
press ¸. ¦ xc and yc are within the viewing cube.
— but —
¦ zc is outside the viewing cube.
When zc is outside the z boundary of the viewing cube, the cursor is
physically displayed at zmin or zmax (although the screen shows the
correct trace coordinates).
3D.DOC TI-89: 3D Graphing (US English) Joan Terrell Revised: 07/29/98 1:11 PM Printed: 07/29/98 1:12 PM Page 149 of 22
Rotating and/or Elevating the Viewing Angle
Effect of Changing The view on the Graph screen is always oriented along the viewing
eyeq angle. From this point of view, you can change eyeq to rotate the
viewing angle around the z axis.
eyeq = 50
eyeq = 80
3D.DOC TI-89: 3D Graphing (US English) Joan Terrell Revised: 07/29/98 1:11 PM Printed: 07/29/98 1:12 PM Page 150 of 22
Effect of Changing By changing eyef, you can elevate your viewing angle above the xy
eyef plane. If 90 < eyef < 270, the viewing angle is below the xy plane.
eyef = 70
eyef = 50
Effect of Changing The view on the Graph screen is always oriented along the viewing
eyeψ angles set by eyeq and eyef. You can change eyeψ to rotate the graph
around that line of sight.
z=10 z=ë10
eyeψ=90
As the z axis rotates 90¡, its
range (ë 10 to 10 in this
example) expands to almost
twice its original length.
Likewise, the x and y axes
expand or contract.
From the Home The eye values are stored in the system variables eyeq, eyef, and
Screen or a Program eyeψ. You can access or store to these variables as necessary.
To type f or ψ, press ¥ c j [ F] or ¥ c j Ú, respectively.
You can also press 2 ¿ and use the Greek menu.
3D.DOC TI-89: 3D Graphing (US English) Joan Terrell Revised: 07/29/98 1:11 PM Printed: 07/29/98 1:12 PM Page 151 of 22
Animating a 3D Graph Interactively
After plotting any 3D graph, you can change the viewing angle
interactively by using the cursor. Refer to the preview example
on page 142.
The Viewing Orbit When using A and B to animate a graph, think of it as moving the
viewing angle along its “viewing orbit” around the graph.
Note: The viewing orbit Moving along this orbit can
affects the eye Window cause the z axis to wobble
variables in differing
amounts. slightly during the animation
(as you can see in the preview
example on page 142).
Tip: After animating the Animate the graph continuously Press and hold the cursor
graph, use ¸ or j for about 1 second, and
to stop and then re-start the then release it.
animation in the same
direction. To stop, press N, ¸,
Tip: During an animation,
´, or ¥ (space).
you can press j [F] to Change between 4 animation speeds Press « or |.
switch to the next graph
format style. (increase or decrease the incremental
changes in the eye Window variables)
Tip: To see a graphic that
shows the eye angles, refer Change the viewing angle of a non- Press X, Y or Z,
to page 150. animated graph to look along the x, y, respectively.
or z axis
Return to the initial eye angle values Press 0
(zero, not the letter O).
Animating a Series You can also animate a graph by saving a series of graph pictures
of Graph Pictures and then flipping (or cycling) through those pictures. Refer to
“Animating a Series of Graph Pictures” in Chapter 12: Additional
Graphing Topics. This method gives you more control over the
Window variable values, particularly eyeψ (page 150), which rotates
the graph.
3D.DOC TI-89: 3D Graphing (US English) Joan Terrell Revised: 07/29/98 1:11 PM Printed: 07/29/98 1:12 PM Page 152 of 22
Changing the Axes and Style Formats
To change any of these settings, use the same procedure that you use
to change other types of dialog boxes, such as the MODE dialog box.
3D.DOC TI-89: 3D Graphing (US English) Joan Terrell Revised: 07/29/98 1:11 PM Printed: 07/29/98 1:12 PM Page 153 of 22
Examples of Style To display the valid Style settings,
Settings highlight the current setting and
press B.
¦ WIRE FRAME — Shows the 3D
Tip: WIRE FRAME is faster shape as a transparent wire
to graph and may be more frame.
convenient when you’re
experimenting with different
shapes. ¦ HIDDEN SURFACES — Uses
shading to differentiate the
two sides of the 3D shape.
Be Aware of The eye angles used to view a graph (eyeq, eyef, and eyeψ Window
Possible variables) can result in optical illusions that cause you to lose
Optical Illusions perspective on a graph.
Typically, most optical illusions occur when the eye angles are in a
negative quadrant of the coordinate system.
Optical illusions may be more noticeable with box axes. For
example, it may not be immediately obvious which is the “front” of
the box.
eyeq = 20, eyef = 55, eyeψ = 0 eyeq = 20, eyef = 120, eyeψ= 0
3D.DOC TI-89: 3D Graphing (US English) Joan Terrell Revised: 07/29/98 1:11 PM Printed: 07/29/98 1:12 PM Page 154 of 22
Contour Plots
Selecting the Graph In 3D graphing mode, define an equation and graph it as you would
Format Style any 3D equation, with the following exception. Display the GRAPH
FORMATS dialog box by pressing ¥ Í from the Y= Editor, Window
editor, or Graph screen. Then set:
Tip: From the Graph Style = CONTOUR LEVELS
screen, you can press – or –
j [F] to switch from one
graph format style to the Style = WIRE AND CONTOUR
next (skipping IMPLICIT
PLOT).
Note: Pressing j [F] to ¦ For CONTOUR LEVELS, only the contours are shown.
select CONTOUR LEVELS
does not affect the viewing − The viewing angle is set initially so that you are viewing the
angle, view, or Labels contours by looking down the z axis. You can change the
format as it does if you use
¥ Í.
viewing angle as necessary.
− The graph is shown in expanded view. To switch between
expanded and normal view, press p.
− The Labels format is set to OFF automatically.
¦ For WIRE AND CONTOUR, the contours are drawn on a wire
frame view. The viewing angle, view (expanded or normal), and
Labels format retain their previous settings.
CONTOUR
LEVELS
3D.DOC TI-89: 3D Graphing (US English) Joan Terrell Revised: 07/29/98 1:11 PM Printed: 07/29/98 1:12 PM Page 155 of 22
How Are Z Values You can set the ncontour Window variable ( ¥ $ ) to specify the
Determined? number of contours that will be evenly distributed along the
displayed range of z values, where:
zmax ì zmin
increment =
ncontour + 1
Drawing a Contour If a contour graph is currently displayed, you can specify a point on
for the Z Value of a the graph and draw a contour for the corresponding z value.
Selected Point 1. Press 2 ˆ to display the Draw
Interactively menu.
2. Select 7:Draw Contour.
3. Either:
¦ Type the point’s x value and press
¸, and then type the y value
and press ¸.
Tip: Any existing contours – or –
remain on the graph. To
remove the default contours, ¦ Move the cursor to the applicable point. (The cursor moves
display the Window editor along the grid lines.) Then press ¸.
( ¥ $ ) and set
ncontour=0. For example, suppose the current graph is z1(x,y)=xñ +.5yñ ì 5. If you
specify x=2 and y=3, a contour is drawn for z=3.5.
3D.DOC TI-89: 3D Graphing (US English) Joan Terrell Revised: 07/29/98 1:11 PM Printed: 07/29/98 1:12 PM Page 156 of 22
Drawing Contours From the Graph screen, press 2 ˆ Draw and then select
for Specified Z 8:DrwCtour. The Home screen is displayed automatically with
Values DrwCtour in the entry line. You can then specify one or more z values
individually or generate a sequence of z values.
Some examples are:
Tip: To remove the default DrwCtour 5 Draws a contour for z=5.
contours, use
¥ $ and set DrwCtour {1,2,3} Draws contours for z=1, 2, and 3.
ncontour=0.
DrwCtour seq(n,n,ë 10,10,2) Draws contours for a sequence of z
values from ë10 through 10 in
steps of 2 (ë10, ë8, ë6, etc.).
3D.DOC TI-89: 3D Graphing (US English) Joan Terrell Revised: 07/29/98 1:11 PM Printed: 07/29/98 1:12 PM Page 157 of 22
Example: Contours of a Complex Modulus Surface
Example In this example, let f(x)=x 3+1. By substituting the general complex
form x+yi for x, you can express the complex surface equation as
z(x,y)=abs((x+yù i)3+1).
1. Use 3 to set Graph=3D.
2. Press ¥ #, and define the
equation:
z1(x,y)=abs((x+yù i)^3+1)
3D.DOC TI-89: 3D Graphing (US English) Joan Terrell Revised: 07/29/98 1:11 PM Printed: 07/29/98 1:12 PM Page 158 of 22
Implicit Plots
Selecting the Graph In 3D graphing mode, define an appropriate equation and graph it as
Format Style you would any 3D equation, with the following exception. Display
the GRAPH FORMATS dialog box by pressing ¥ Í from the
Y= Editor, Window editor, or Graph screen.
Note: From the Graph Then set:
screen, you can press
j [F] to switch to the Style = IMPLICIT PLOT
other graph format styles.
However, you must use
¥ Í to return to IMPLICIT
PLOT.
3D.DOC TI-89: 3D Graphing (US English) Joan Terrell Revised: 07/29/98 1:11 PM Printed: 07/29/98 1:12 PM Page 159 of 22
¦ The viewing angle is set initially so that you are viewing the plot
by looking down the z axis. You can change the viewing angle as
necessary.
¦ The plot is shown in expanded view. To switch between
expanded and normal view, press p.
¦ The Labels format is set to OFF automatically.
xñ ì yñ =4 sin(x)+cos(y)= e (xù y)
Style z1(x,y)=xñ ì yñ ì 4 z1(x,y)=sin(x)+cos(y)ì e (xù y)
Note: These examples use
the same x, y, and z
Window variable values as a IMPLICIT
ZoomStd viewing cube. If PLOT
you use ZoomStd, press Z
to look down the z axis.
3D.DOC TI-89: 3D Graphing (US English) Joan Terrell Revised: 07/29/98 1:11 PM Printed: 07/29/98 1:12 PM Page 160 of 22
Example: Implicit Plot of a More Complicated Equation
You can use the IMPLICIT PLOT graph format style to plot and
animate a complicated equation that cannot be graphed
otherwise. Although it may take a long time to evaluate such a
graph, the visual results can justify the time required.
3D.DOC TI-89: 3D Graphing (US English) Joan Terrell Revised: 07/29/98 1:11 PM Printed: 07/29/98 1:12 PM Page 161 of 22
162 Chapter 10: 3D Graphing
3D.DOC TI-89: 3D Graphing (US English) Joan Terrell Revised: 07/29/98 1:11 PM Printed: 07/29/98 1:12 PM Page 162 of 22
Chapter 11:
Differential Equation Graphing
Preview of Differential Equation Graphing ....................................... 164
Note: A differential equation The TI-89 solves 1st-order systems of ordinary differential
is: equations. For example:
• 1st-order when only
1st-order derivatives y' = .001 y ù (100 ì y)
appear.
• Ordinary when all the
or coupled 1st-order differential equations such as:
derivatives are with
respect to the same y1' = ë y1 + 0.1 ù y1 ù y2
independent variable. y2' = 3 ù y2 ì y1 ù y2
You can solve higher-order equations by defining them as a
system of 1st-order equations. For example:
y'' + y = sin(t) can be defined as y1' = y2
y2' = ë y1 + sin(t)
By setting appropriate initial conditions, you can graph a
particular solution curve of a differential equation.
You can also graph a slope
or direction field that helps
you visualize the behavior
of the entire family of
solution curves.
For graphing, the TI-89 uses numerical methods that approximate
the true solutions. The new deSolve() function lets you solve
some differential equations symbolically. This chapter introduces
deSolve(). Refer to Appendix A for more details.
DIFFEQ.DOC TI-89: Differential Equation Graphing (US English) Joan Terrell Revised: 08/03/98 1:05 PM Printed: 08/03/98 2:28 PM Page 163 of 27
Preview of Differential Equation Graphing
Graph the solution to the logistic 1st-order differential equation y' = .001yù (100ì y). Start
by drawing only the slope field. Then enter initial conditions in the Y= Editor and
interactively from the Graph screen.
DIFFEQ.DOC TI-89: Differential Equation Graphing (US English) Joan Terrell Revised: 07/29/98 1:21 PM Printed: 07/29/98 1:21 PM Page 164 of 26
Steps Keystrokes Display
DIFFEQ.DOC TI-89: Differential Equation Graphing (US English) Joan Terrell Revised: 07/29/98 1:21 PM Printed: 07/29/98 1:21 PM Page 165 of 26
Overview of Steps in Graphing Differential Equations
DIFFEQ.DOC TI-89: Differential Equation Graphing (US English) Joan Terrell Revised: 07/29/98 1:21 PM Printed: 07/29/98 1:21 PM Page 166 of 26
Differences in Diff Equations and Function Graphing
This chapter assumes that you already know how to graph y(x)
functions as described in Chapter 6: Basic Function Graphing.
This section describes the differences.
Setting the Use 3 to set Graph = DIFF EQUATIONS before you define
Graph Mode differential equations or set Window variables. The Y= Editor and the
Window Editor let you enter information for the current Graph mode
setting only.
Tip: You can use the Define When entering equations in the Y= Editor, do not use y(t) formats to
command from the Home refer to results. For example:
screen to define functions
Do not use implied multiplication
and equations. between a variable and
Enter: y1' = .001y1ù (100ì y1) parenthetical expression. If you
Not: y1' = .001y1(t)ù (100ì y1(t)) do, it is treated as a function call.
Selecting the With 2 ˆ Style, only the Line, Dot, Square, Thick, Animate, and Path
Display Style styles are available. Dot and Square mark only those discrete values
(in tstep increments) at which a differential equation is plotted.
DIFFEQ.DOC TI-89: Differential Equation Graphing (US English) Joan Terrell Revised: 07/29/98 1:21 PM Printed: 07/29/98 1:21 PM Page 167 of 26
Setting Graph From the Y= Editor, Window
Formats Editor, or Graph screen, press
¥ Í.
DIFFEQ.DOC TI-89: Differential Equation Graphing (US English) Joan Terrell Revised: 07/29/98 1:21 PM Printed: 07/29/98 1:21 PM Page 168 of 26
Setting Axes In the Y= Editor, 2 ‰ Axes may or may not be available,
depending on the current graph format.
If 2 ‰ is available, you can select
the axes that are used to graph the
differential equations. For more
information, refer to page 178.
Axes Description
TIME Plots t on the x axis and y (the solutions to the selected
differential equations) on the y axis.
CUSTOM Lets you select the x and y axes.
Window Variables Differential equation graphs use the following Window variables.
Depending on the Solution Method and Fields graph formats, not all of
these variables are listed in the Window Editor ( ¥ $ ) at the
same time.
Variable Description
t0 Time at which the initial conditions entered in the
Y= Editor occur. You can set t0 in the Window Editor
and Y= Editor. (If you set t0 in the Y= Editor, tplot is set
to the same value automatically.)
Note: If tmax < t0, tstep must tmax, Used to determine the t values where the equations are
be negative. tstep plotted:
y'(t0)
y'(t0+tstep)
y'(t0+2ù tstep)
... not to exceed ...
y'(tmax)
If Fields = SLPFLD, tmax is ignored. Equations are
plotted from t0 to both edges of the screen in tstep
increments.
Note: If Fields=SLPFLD, tplot First t value plotted. If this is not a tstep increment,
tplot is ignored and is plotting begins at the next tstep increment. In some
assumed to be the same
as t0. situations, the first points evaluated and plotted
starting at t0 may not be interesting visually. By setting
tplot greater than t0, you can start the plot at the
interesting area, which speeds up the graphing time
and avoids unnecessary clutter on the Graph screen.
DIFFEQ.DOC TI-89: Differential Equation Graphing (US English) Joan Terrell Revised: 07/29/98 1:21 PM Printed: 07/29/98 1:21 PM Page 169 of 26
Window Variables xmin, xmax, Boundaries of the viewing window.
(Continued) ymin, ymax
Standard values (set when you select 6:ZoomStd from the „ Zoom
toolbar menu) are:
You may need to change the standard values for the t variables to
ensure that sufficient points are plotted.
DIFFEQ.DOC TI-89: Differential Equation Graphing (US English) Joan Terrell Revised: 07/29/98 1:21 PM Printed: 07/29/98 1:21 PM Page 170 of 26
The fldpic System When a slope or direction field is drawn, a picture of the field is
Variable stored automatically to a system variable named fldpic. If you
perform an operation that regraphs the plotted equations but does
not affect the field, the TI-89 reuses the picture in fldpic instead of
having to redraw the field. This can speed up the regraphing time
significantly.
fldpic is deleted automatically when you exit the differential equation
graphing mode or when you display a graph with Fields = FLDOFF.
Exploring a Graph As in function graphing, you can explore a graph by using the
following tools. Any displayed coordinates are shown in rectangular
or polar form as set in the graph format.
DIFFEQ.DOC TI-89: Differential Equation Graphing (US English) Joan Terrell Revised: 07/29/98 1:21 PM Printed: 07/29/98 1:21 PM Page 171 of 26
Setting the Initial Conditions
You can enter initial conditions in the Y= Editor, let the TI-89
calculate initial conditions automatically, or select them
interactively from the Graph screen.
Entering Initial You can specify one or more initial conditions in the Y= Editor. To
Conditions in the specify more than one, enter them as a list enclosed in braces { } and
Y= Editor separated by commas.
To enter initial conditions for
the y1' equation, use the yi1 line,
etc.
Note: For information about For a 2nd- or higher-order differential equation, you must define a
defining a system for higher- system of 1st-order equations in the Y= Editor.
order equations, refer to
page 174. If you enter initial conditions,
you must enter the same number
of initial conditions for each
equation in the system.
Otherwise, a Dimension error
occurs.
If You Do Not Enter If you do not enter initial conditions, the ncurves Window variable
an Initial Condition ( ¥ $ ) specifies the number of solution curves graphed
in the Y= Editor automatically. By default, ncurves = 0. You can enter a value from
0 through 10. However, the Fields graph format ( ¥ Í ) and the Axes
setting determine whether ncurves is used.
Note: SLPFLD is for a single FLDOFF Uses ncurves if Axes = TIME (or if Axes = Custom and
1st-order equation only. the x axis is t). Otherwise, a Diff Eq setup error occurs.
DIRFLD is for a 2nd-order
equation (or system of two
1st-order equations) only. When ncurves is used, t0 is set temporarily at the middle of the Graph
screen. However, the value of t0 as set in the Y= Editor or Window
Editor is not changed.
DIFFEQ.DOC TI-89: Differential Equation Graphing (US English) Joan Terrell Revised: 07/29/98 1:21 PM Printed: 07/29/98 1:21 PM Page 172 of 26
Selecting an Initial When a differential equation is graphed (regardless of whether a
Condition solution curve is displayed), you can select a point on the Graph
Interactively from screen and use it as an initial condition.
the Graph Screen
If Fields = Do this:
Note: With SLPFLD or SLPFLD 1. Press 2 Š.
DIRFLD, you can select – or –
initial conditions interactively 2. Specify an initial condition. Either:
regardless of whether you DIRFLD
enter initial conditions in the ¦ Move the cursor to the applicable point and
Y= Editor. press ¸.
– or –
¦ For each of the two coordinates, type a value
and press ¸.
− For SLPFLD (1st-order only), enter values
for t0 and y(t0).
− For DIRFLD (2nd-order or system of two 1st-
order equations only), enter values for both
y(t0) initial conditions, where t0 is the value
set in the Y= Editor or Window Editor.
A circle marks the initial condition and the solution
curve is drawn.
Note: With FLDOFF, you FLDOFF 1. Press 2 Š.
can select initial conditions
interactively. However, if You are prompted to select the axes for which you
three or more equations are want to enter initial conditions.
entered, you must enter a
single value (not a list) as
the initial condition for each t is a valid selection.
equation in the Y= Editor. It will let you specify
Otherwise, a Dimension a value for t0.
error occurs when graphing.
Your selections will be used as the axes for the
graph.
2. You can accept the defaults or change them. Then
press ¸.
3. Specify an initial condition as described for
SLPFLD or DIRFLD.
Note about Tracing When you enter initial conditions in the Y= Editor or let ncurves
a Solution Curve graph solution curves automatically, you can use … to trace the
curves.
However, you cannot trace a curve drawn by selecting an initial
condition interactively. These curves are drawn, not plotted.
DIFFEQ.DOC TI-89: Differential Equation Graphing (US English) Joan Terrell Revised: 07/29/98 1:21 PM Printed: 07/29/98 1:21 PM Page 173 of 26
Defining a System for Higher-Order Equations
DIFFEQ.DOC TI-89: Differential Equation Graphing (US English) Joan Terrell Revised: 07/29/98 1:21 PM Printed: 07/29/98 1:21 PM Page 174 of 26
Example of a 2nd-Order Equation
x axis = y1 = y
y axis = y2 = y'
If you select ZoomSqr ( „ 5), you can see that the phase-plane orbit
is actually a circle. However, ZoomSqr will change your Window
variables.
DIFFEQ.DOC TI-89: Differential Equation Graphing (US English) Joan Terrell Revised: 07/29/98 1:21 PM Printed: 07/29/98 1:21 PM Page 175 of 26
To examine this harmonic oscillator in more detail, use a split screen
to graph the manner in which y and y' change with respect to time (t).
Note: When you enter 2- 14. In the Window Editor, change ymin=ë 2.
graph mode, Window ymin and ymax as shown to the ymax=2.
variables for the right side
are set to their defaults. right.
15. Press ¥ % to display the
Graph screen for graph #2.
The left side shows the phase-
plane orbit. The right side
shows the solution curve and
y' y
its derivative.
16. To return to a full screen of
the original graph, press Split Screen = FULL
2 a to switch to the left
side. Then press 3 and
change the Split Screen setting.
DIFFEQ.DOC TI-89: Differential Equation Graphing (US English) Joan Terrell Revised: 07/29/98 1:21 PM Printed: 07/29/98 1:21 PM Page 176 of 26
Example of a 3rd-Order Equation
DIFFEQ.DOC TI-89: Differential Equation Graphing (US English) Joan Terrell Revised: 07/29/98 1:21 PM Printed: 07/29/98 1:21 PM Page 177 of 26
Setting Axes for Time or Custom Plots
Item Description
Axes TIME — Plots t on the x axis and y (solutions to all
selected differential equations) on the y axis.
CUSTOM — Lets you select the x and y axes.
X Axis, Active only when Axes = CUSTOM, these let you select
Y Axis what you want to plot on the x and y axes.
DIFFEQ.DOC TI-89: Differential Equation Graphing (US English) Joan Terrell Revised: 07/29/98 1:21 PM Printed: 07/29/98 1:21 PM Page 178 of 26
Example of Time and Custom Axes
where:
y1 = Population of foxes
yi1 = Initial population of foxes (2)
y2 = Population of rabbits
yi2 = Initial population of rabbits (5)
DIFFEQ.DOC TI-89: Differential Equation Graphing (US English) Joan Terrell Revised: 07/29/98 1:21 PM Printed: 07/29/98 1:21 PM Page 179 of 26
Note: In this example, 8. Return to the Y= Editor. Then
DIRFLD is used for two press ¥ Í and set
related differential equations
that do not represent a 2nd- Fields = DIRFLD.
order equation.
DIFFEQ.DOC TI-89: Differential Equation Graphing (US English) Joan Terrell Revised: 07/29/98 1:21 PM Printed: 07/29/98 1:21 PM Page 180 of 26
Example Comparison of RK and Euler
Note: You do not need to 7. In the Home screen ( " ), BldData rklog
graph the equation before use BldData to create a data
using BldData. For more
information about BldData, variable containing the RK
refer to Appendix A. graphing points.
8. Return to the Y= Editor,
press ¥ Í, and set
Solution Method = EULER.
DIFFEQ.DOC TI-89: Differential Equation Graphing (US English) Joan Terrell Revised: 07/29/98 1:21 PM Printed: 07/29/98 1:21 PM Page 181 of 26
9. Return to the Home screen, BldData eulerlog
and use BldData to create a
data variable containing the
Euler graphing points.
Note: errorlog lets you 10. Use the Data/Matrix Editor
combine the data in rklog ( O 6 3 ) to create a new
and eulerlog so that you can
view the two sets of data data variable named errorlog.
side by side.
Note: rklog[1] and rklog[2] 11. In this new data variable, c1=rklog[1] or
refer to column 1 and 2 in define the c1, c2, and c3 c1=eulerlog[1]
rklog, respectively. Likewise c2=rklog[2]
with eulerlog[2]. column headers to refer to
data in rklog and eulerlog. c3=
Tip: Scroll through the data eulerlog[2]
Also, enter column titles as
variable to see how the RK shown.
and Euler values differ for
the same time value. To define a column header,
move the cursor to that
column, press †, type the
reference expression (such
as rklog[1] for c1), and press
¸.
12. In the Data/Matrix Editor,
press „. Then press ƒ and
define Plot 1 for the RK data,
as shown to the right.
DIFFEQ.DOC TI-89: Differential Equation Graphing (US English) Joan Terrell Revised: 07/29/98 1:21 PM Printed: 07/29/98 1:21 PM Page 182 of 26
16. In the Window Editor, set xmin=ë 10. ymin=ë 10. xres=2.
xmax=100. ymax=120.
the Window variables. xscl=10. yscl=10.
Note: The fuzzy line on the 17. Display the Graph screen
graph indicates differences ( ¥ % ).
between the RK and Euler
values.
By moving the trace cursor to trace each solution to xc = 40, you can
find that:
¦ The exact solution (y1) is 85.8486, rounded to six digits.
¦ The RK solution (Plot 1) is 85.8952.
¦ The Euler solution (Plot 2) is 85.6527.
You can also use the Data/Matrix Editor to open the errorlog data
variable and scroll to time = 40.
DIFFEQ.DOC TI-89: Differential Equation Graphing (US English) Joan Terrell Revised: 07/29/98 1:21 PM Printed: 07/29/98 1:21 PM Page 183 of 26
Example of the deSolve( ) Function
The deSolve() function lets you solve many 1st- and 2nd-
order ordinary differential equations exactly.
Example For a general solution, use the following syntax. For a particular
solution, refer to Appendix A.
You can also use deSolve() to solve this problem directly. Enter:
deSolve(y' = 1/1000 yù (100ì y) and y(0)=10,t,y)
DIFFEQ.DOC TI-89: Differential Equation Graphing (US English) Joan Terrell Revised: 07/29/98 1:21 PM Printed: 07/29/98 1:21 PM Page 184 of 26
Troubleshooting with the Fields Graph Format
Fields=SLPFLD In the Use † to select one and only one 1st-order equation.
Y= Editor You can enter multiple equations, but only one at a
time can be selected.
The selected equation must not refer to any other
equation in the Y= Editor. For example:
If y1'=y2, an Undefined
variable error occurs when
you graph.
In the Graph If the slope field is drawn but no solution curve is
screen plotted, specify an initial condition as described on
page 172.
DIFFEQ.DOC TI-89: Differential Equation Graphing (US English) Joan Terrell Revised: 07/29/98 1:21 PM Printed: 07/29/98 1:21 PM Page 185 of 26
Fields=DIRFLD In the Enter a valid system of two 1st-order equations. For
Y= Editor information about defining a valid system for a 2nd-
order equation, refer to page 174.
Use 2 ‰ Axes to set
Axes = CUSTOM. If Axes =
TIME, an Invalid axes error
occurs when you graph.
If you enter initial conditions in the Y= Editor, the
equations referenced by the custom axes must have
the same number of initial conditions.
Otherwise, a Dimension
error occurs when you
graph.
With custom Set axes that are valid for your system of equations.
axes
Do not select t for either axis. Otherwise, an Invalid
axes error occurs when you graph.
The two axes must refer to different equations in
your system of equations. For example, y1 vs. y2 is
valid, but y1 vs. y1' gives an Invalid axes error.
In the Graph If the direction field is drawn but no curve is plotted,
screen enter initial conditions in the Y= Editor or select one
interactively from the Graph screen as described
starting on page 172. If you did enter initial
conditions, select ZoomFit ( „ j A).
The ncurves Window variable is ignored with DIRFLD.
Default curves are not drawn automatically.
Notes With DIRFLD, the equations referenced by the custom
axes determine which equations are graphed,
regardless of which equations are selected in the
Y= Editor.
If your system of equations refers to t, the direction
field (not the plotted curves) is drawn with respect to
one particular time, which is set by the dtime Window
variable.
DIFFEQ.DOC TI-89: Differential Equation Graphing (US English) Joan Terrell Revised: 07/29/98 1:21 PM Printed: 07/29/98 1:21 PM Page 186 of 26
Fields=FLDOFF In the If you enter a 2nd- or higher-order equation, enter it
Y= Editor as a valid system of equations as described on
page 174.
All equations (selected or
not) must have the same
number of initial
conditions. Otherwise, a
Dimension error occurs
when you graph.
You can use 2 ‰ Axes to set Axes = TIME or
CUSTOM.
With custom If X Axis is not t, you must enter at least one initial
axes condition for each equation in the Y= Editor
(whether the equation is selected or not).
Otherwise, a Diff Eq setup
error occurs when you
graph.
In the Graph If no curve is graphed, set an initial condition as
screen described on page 172. If you did enter initial
conditions in the Y= Editor, select ZoomFit
( „ j A).
A 1st-order equation may look different with FLDOFF
than with SLPFLD. This is because FLDOFF uses the
tplot and tmax Window variables (page 169), which
are ignored with SLPFLD.
Notes For 1st-order equations, use FLDOFF and
Axes = Custom to plot axes that are not possible with
SLPFLD. For example, you can plot t vs. y1' (where
SLPFLD plots t vs. y1). If you enter multiple 1st-order
equations, you can plot one equation or its solution
vs. another by specifying them as the axes.
If You Use the Table You can use the Table screen to view the points for a differential
Screen to View equation graph. However, the table may show different equations
Differential than those graphed. The table shows only the selected equations,
Equations regardless of whether those equations will be plotted with your
current Fields and Axes settings.
DIFFEQ.DOC TI-89: Differential Equation Graphing (US English) Joan Terrell Revised: 07/29/98 1:21 PM Printed: 07/29/98 1:21 PM Page 187 of 26
188 Chapter 11: Differential Equation Graphing
DIFFEQ.DOC TI-89: Differential Equation Graphing (US English) Joan Terrell Revised: 07/29/98 1:21 PM Printed: 07/29/98 1:21 PM Page 188 of 26
Chapter 12:
Additional Graphing Topics
Preview of Additional Graphing Topics ............................................. 190
Collecting Data Points from a Graph.................................................. 191
ADDGR.DOC TI-89: Additional Graphing Tools (US English) Joan Terrell Revised: 08/03/98 12:56 PM Printed: 08/03/98 2:29 PM Page 189 of 21
Preview of Additional Graphing Topics
From the Home screen, graph the piecewise defined function: y = ì x when x < 0 and
y = 5 cos(x) when x ‚ 0. Draw a horizontal line across the top of the cosine curve. Then
save a picture of the displayed graph.
ADDGR.DOC TI-89: Additional Graphing Tools (US English) Joan Terrell Revised: 07/29/98 1:23 PM Printed: 07/29/98 1:25 PM Page 190 of 20
Collecting Data Points from a Graph
Collecting the 1. Display the graph. (This example shows y1(x)=5ù cos(x).)
Points 2. Display the coordinates or math results you want to collect.
3. Press ¥ · or ¥ b to save the information to the Home screen
or the sysData variable, respectively.
4. Repeat the process as necessary.
¥· ¥b
ADDGR.DOC TI-89: Additional Graphing Tools (US English) Joan Terrell Revised: 07/29/98 1:23 PM Printed: 07/29/98 1:25 PM Page 191 of 20
Graphing a Function Defined on the Home Screen
What Is the “Native” On the Y= Editor, all functions must be defined in terms of the
Independent current graph mode’s “native” independent variable.
Variable?
Graph Mode Native Independent Variable
Function x
Parametric t
Polar q
Sequence n
3D x, y
Differential Equation t
Copying from the If you have an expression on the Home screen, you can use any of
Home Screen to the the following methods to copy it to the Y= Editor.
Y= Editor
Method Description
Copy and 1. Highlight the expression on the Home screen.
Tip: Use ¥ 6 or paste Press ƒ and select 5:Copy.
¥ 7 to copy or paste,
respectively, instead of ƒ 5 2. Display the Y= Editor, highlight the desired
or ƒ 6. function, and press ¸.
3. Press ƒ and select 6:Paste. Then press ¸.
Tip: Define is available from Define Define the expression as a user-defined Y= function.
the Home screen’s command
† toolbar menu. Define y1(x)=2x^3+3x^2ì 4x+12
ADDGR.DOC TI-89: Additional Graphing Tools (US English) Joan Terrell Revised: 07/29/98 1:23 PM Printed: 07/29/98 1:25 PM Page 192 of 20
Graphing Directly The Graph command lets you graph an expression from the Home
from the Home screen without using the Y= Editor. Unlike the Y= Editor, Graph lets
Screen you specify an expression in terms of any independent variable,
regardless of the current graphing mode.
A non-native
Note: Graph uses the graph 1.25aù cos(a),a
current Window variable
independent variable
Specify the independent
settings. variable; otherwise, you
may get an error.
Tip: To create a table from Graph does not work with sequence graphs or differential equations.
the Home screen, use the For parametric, polar, and 3D graphs, use the following variations.
Table command. It is similar
to Graph. Both share the In PARAMETRIC graphing mode: Graph xExpr, yExpr, t
same expressions.
In POLAR graphing mode: Graph expr, q
In 3D graphing mode: Graph expr, x, y
Clearing the Graph Each time you execute Graph, the new expression is added to the
Screen existing ones. To clear the graphs:
¦ Execute the ClrGraph command (available from the Home
screen’s † Other toolbar menu).
— or —
¦ Display the Y= Editor. The next time you display the Graph
screen, it will use the functions selected on the Y= Editor.
Extra Benefits of You can define a user-defined function in terms of any independent
User-Defined variable. For example:
Functions Defined in terms of “aa”.
ADDGR.DOC TI-89: Additional Graphing Tools (US English) Joan Terrell Revised: 07/29/98 1:23 PM Printed: 07/29/98 1:25 PM Page 193 of 20
Graphing a Piecewise Defined Function
In the Y= Editor:
The function is pretty
printed in this form.
In the Y= Editor:
where:
ADDGR.DOC TI-89: Additional Graphing Tools (US English) Joan Terrell Revised: 07/29/98 1:23 PM Printed: 07/29/98 1:25 PM Page 194 of 20
Using a Multi- For three or more pieces, you may want to create a multi-statement,
Statement, User- user-defined function.
Defined Function For example, consider the previous three-piece function.
Note: For information about A multi-statement, user-defined function can have many of the
similarities and differences control and decision-making structures (If, ElseIf, Return, etc.) used
between functions and
programs, refer to in programming. When creating the structure of a function, it may be
Chapter 17. helpful to visualize it first in a block form.
Tip: Graph math results Func
may vary. If x<-p Then Func and EndFunc
must begin and end the
Return 4ù sin(x) function.
ElseIf x>=-p and x<0 Then
Return 2x+6 For information about
Else the individual
Return 6ì x^2 statements, refer to
EndIf Appendix A.
EndFunc
On the Y= Editor:
Only “Func” is shown
for a multi-statement
function.
Enter a multi-statement
function on one line. Be
sure to include colons.
From the Home From the Home screen, you can also use the Define command to
Screen or a Program create a multi-statement, user-defined function. Refer to page 192 for
other information on copying a function from the Home screen to the
Y= Editor.
From the Program Editor (Chapter 17), you can create a user-defined
function. For example, use the Program Editor to create a function
named f1(xx). In the Y= Editor, set y1(x) = f1(x).
ADDGR.DOC TI-89: Additional Graphing Tools (US English) Joan Terrell Revised: 07/29/98 1:23 PM Printed: 07/29/98 1:25 PM Page 195 of 20
Graphing a Family of Curves
Examples Using the Enter the expression {2,4,6} sin(x) and graph the functions.
Y= Editor
Tip: Graph math results
may vary.
Example Using the Similarly, you can use the Graph command from the Home screen or
Graph Command a program as described on page 193.
graph {2,4,6}sin(x)
graph {2,4,6}sin({1,2,3}x)
Simultaneous When the graph format is set for Graph Order = SIMUL, the functions
Graphs with Lists are graphed in groups according to the element number in the list.
For these example functions, the
Tip: To set graph formats, TI-89 graphs three groups.
press ¥ Í from the
Y= Editor, Window Editor, ¦ 2 sin(x), x+4, cos(x)
or Graph screen. ¦ 4 sin(x), 2x+4
¦ 6 sin(x), 3x+4
The functions within each group are graphed simultaneously, but the
groups are graphed sequentially.
When Tracing a Pressing D or C moves the trace cursor to the next or previous
Family of Curves curve in the same family before moving to the next or previous
selected function.
ADDGR.DOC TI-89: Additional Graphing Tools (US English) Joan Terrell Revised: 07/29/98 1:23 PM Printed: 07/29/98 1:25 PM Page 196 of 20
Using the Two-Graph Mode
Setting the Mode Several mode settings affect the two-graph mode, but only two
settings are required. Both are on Page 2 of the MODE dialog box.
1. Press 3. Then press „ to display Page 2.
2. Set the following
required modes.
¦ Split Screen =
TOP-BOTTOM or
LEFT-RIGHT
¦ Number of Graphs = 2
ADDGR.DOC TI-89: Additional Graphing Tools (US English) Joan Terrell Revised: 07/29/98 1:23 PM Printed: 07/29/98 1:25 PM Page 197 of 20
Independent Graph- Both Graph 1 and Graph 2 have independent:
Related Features ¦ Graph modes (FUNCTION, POLAR, etc.). Other modes such as
Angle, Display Digits, etc., are shared and affect both graphs.
The Y= Editor in Even in two-graph mode, there is actually only one Y= Editor, which
Two-Graph Mode maintains a single function list for each Graph mode setting.
However, if both sides use the same graphing mode, each side can
select different functions from that single list.
ADDGR.DOC TI-89: Additional Graphing Tools (US English) Joan Terrell Revised: 07/29/98 1:23 PM Printed: 07/29/98 1:25 PM Page 198 of 20
Using a Split Screen For more complete information about split screens, refer to
Chapter 14.
¦ To switch from one graph side to the other, press 2 a (second
function of O ).
Note: You can display non- ¦ To display different applications:
graph-related applications
(such as the Home screen) − Switch to the applicable graph side and display the application
on only one side at a time. as you normally would.
— or —
− Use 3 to change Split 1 App and/or Split 2 App.
¦ To exit two-graph mode:
− Use 3 to set Number of Graphs = 1, or exit the split screen
by setting Split Screen = FULL.
— or —
− Press 2 K twice. This always exits a split screen and
returns to a full-sized Home screen.
Remember that the In two-graph mode, the two sides may appear to be related when, in
Two Sides Are fact, they are not. For example:
Independent
From the Home After the two-graph mode is set up, graph-related operations refer to
Screen or a Program the active graph side. For example:
10! xmax
ADDGR.DOC TI-89: Additional Graphing Tools (US English) Joan Terrell Revised: 07/29/98 1:23 PM Printed: 07/29/98 1:25 PM Page 199 of 20
Drawing a Function or Inverse on a Graph
Drawing a Function, Execute DrawFunc, DrawParm, or DrawPol from the Home screen or
Parametric, or Polar a program. You cannot draw a function or equation interactively
Equation from the Graph screen.
DrawFunc expression
DrawParm expression1, expression2 [,tmin] [,tmax] [,tstep]
DrawPol expression [,qmin] [,qmax] [,qstep]
For example:
1. Define y1(x)=.1xò ì 2x+6 on
the Y= Editor, and graph the
function.
Note: 2 ˆ 2 displays the 2. On the Graph screen, press
Home screen and puts 2 ˆ and select
DrawFunc in the entry line.
2:DrawFunc.
Drawing the Inverse Execute DrawInv from the Home screen or a program. You cannot
of a Function draw an inverse function interactively from the Graph screen.
DrawInv expression
ADDGR.DOC TI-89: Additional Graphing Tools (US English) Joan Terrell Revised: 07/29/98 1:23 PM Printed: 07/29/98 1:25 PM Page 200 of 20
Drawing a Line, Circle, or Text Label on a Graph
Clearing All A drawn object is not part of the graph itself. It is drawn “on top of”
Drawings the graph and remains on the screen until you clear it.
From the Graph screen:
Tip: You can also enter ¦ Press 2 ˆ and select
ClrDraw on the Home 1:ClrDraw.
screen’s entry line.
— or —
¦ Press † to regraph.
You can also do anything that causes the Smart Graph feature to
redraw the graph (such as change the Window variables or deselect
a function on the Y= Editor).
To draw a: Do this:
Point (pixel-sized) Press ¸.
Tip: When drawing a Freehand line Press and hold ¤, and move the cursor to
freehand line, you can move draw the line.
the cursor diagonally.
To quit drawing the line, release ¤.
ADDGR.DOC TI-89: Additional Graphing Tools (US English) Joan Terrell Revised: 07/29/98 1:23 PM Printed: 07/29/98 1:25 PM Page 201 of 20
Erasing Individual From the Graph screen:
Parts of a Drawing 1. Press 2 ‰ and select 2:Eraser. The cursor is shown as a small
Object box.
2. Move the cursor to the applicable location.
To erase: Do this:
Note: These techniques Area under the box Press ¸.
also erase parts of graphed
functions. Along a freehand line Press and hold ¤, and move the cursor. To
quit, release ¤.
ADDGR.DOC TI-89: Additional Graphing Tools (US English) Joan Terrell Revised: 07/29/98 1:23 PM Printed: 07/29/98 1:25 PM Page 202 of 20
Drawing a From the Graph screen:
Horizontal or 1. Press 2 ‰ and select 5:Horizontal or 6:Vertical. A horizontal or
Vertical Line vertical line and a flashing cursor are displayed on the screen.
If the line is initially displayed on an axis, it may be difficult to
see. However, you can easily see the flashing cursor.
Tip: Use 2 to move the 2. Use the cursor pad to move the line to the appropriate position.
cursor in larger increments; Then press ¸.
2 B, etc.
After drawing the line, you are
still in “line” mode.
¦ To continue, move the cursor
to another location.
¦ To quit, press N.
Drawing a Tangent To draw a tangent line, use the ‡ Math toolbar menu instead of
Line 2 ˆ or 2 ‰. From the Graph screen:
1. Press ‡ and select A:Tangent.
2. As necessary, use D and C to select the applicable function.
Tip: To set the tangent 3. Move the cursor to the
point, you can also type its x tangent point, and press
value and press ¸.
¸.
The tangent line is drawn,
and its equation is displayed.
Drawing a Line To draw a line through a specified point with a specified slope,
Based on a Point execute the DrawSlp command from the Home screen or a program.
and a Slope Use the syntax:
DrawSlp x, y, slope
ADDGR.DOC TI-89: Additional Graphing Tools (US English) Joan Terrell Revised: 07/29/98 1:23 PM Printed: 07/29/98 1:25 PM Page 203 of 20
Typing Text Labels From the Graph screen:
1. Press 2 ‰ and select 7:Text.
Tip: The text cursor 2. Move the text cursor to the location where you want to begin
indicates the upper-left typing.
corner of the next character
you type. 3. Type the text label.
After typing the text, you are
still in “text” mode.
¦ To continue, move the cursor
to another location.
¦ To quit, press ¸ or N.
From the Home Commands are available for drawing any of the objects described in
Screen or a Program this section. There are also commands (such as PxlOn, PxlLine, etc.)
that let you draw objects by specifying exact pixel locations on the
screen.
For a list of the available drawing commands, refer to “Drawing on
the Graph Screen” in Chapter 17.
ADDGR.DOC TI-89: Additional Graphing Tools (US English) Joan Terrell Revised: 07/29/98 1:23 PM Printed: 07/29/98 1:25 PM Page 204 of 20
Saving and Opening a Picture of a Graph
Saving a Picture of A picture includes any plotted functions, axes, tick marks, and drawn
the Whole Graph objects. The picture does not include lower and upper bound
Screen indicators, prompts, or cursor coordinates.
Display the Graph screen as you
want to save it. Then:
1. Press ƒ and select
2:Save Copy As.
Saving a Portion of You can define a rectangular box that encloses only the portion of
the Graph Screen the Graph screen that you want to save.
1. Press 2 ‰ and select
8:Save Picture.
Note: You cannot save a A box is shown around the
portion of a 3D graph. outer edge of the screen.
Tip: Use D and C to move 2. Set the 1st corner of the box
the top or bottom, and use by moving its top and left
B and A to move the sides.
sides. Then press ¸.
3. Set the 2nd corner by moving
the bottom and right sides.
Then press ¸.
4. Specify the folder and a
unique variable name.
5. Press ¸. After typing in an
input box such as Variable, you
must press ¸ twice. Note: When saving a portion of a
graph, Type is automatically fixed
as Picture.
ADDGR.DOC TI-89: Additional Graphing Tools (US English) Joan Terrell Revised: 07/29/98 1:23 PM Printed: 07/29/98 1:25 PM Page 205 of 20
Opening a Graph When you open a graph picture, it is superimposed over the current
Picture Graph screen. To display only the picture, use the Y= Editor to
deselect any other functions before opening the graph picture.
From the Graph screen:
1. Press ƒ and select 1:Open.
2. Select the type (Picture),
folder, and variable that
Note: If a variable name is contain the graph picture you
not shown on the dialog want to open.
box, there are no graph
pictures in the folder. 3. Press ¸. Important: By default, Type = GDB
(for graph database). Be sure to set
Type = Picture.
For Pictures Saved When you press ƒ and select 1:Open, the picture is superimposed
from a Portion of starting at the upper-left corner of the Graph screen. If the picture
the Graph Screen was saved from a portion of the Graph screen (page 205), it may
appear shifted from the underlying graph.
To specify which screen pixel to use as the upper-left corner, you
can use the commands listed in “From a Program or the Home
Screen” below.
From a Program or To save (store) and open (recall) a graph picture, use the StoPic,
the Home Screen RclPic, AndPic, XorPic, and RplcPic commands as described in
Appendix A.
To display a series of graph pictures as an animation, use the
CyclePic command. For an example, refer to page 207.
ADDGR.DOC TI-89: Additional Graphing Tools (US English) Joan Terrell Revised: 07/29/98 1:23 PM Printed: 07/29/98 1:25 PM Page 206 of 20
Animating a Series of Graph Pictures
CyclePic Command Before using CyclePic, you must have a series of graph pictures that
have the same base name and are sequentially numbered starting
with 1 (such as pic1, pic2, pic3, . . . ).
To cycle the pictures, use the syntax:
CyclePic picNameString, n [,wait] [,cycles] [,direction]
1 = forward/circular cycle
ë1= forward/backward
# of times to repeat cycle
seconds between pictures
# of pictures to cycle
base name of pictures in quotes, such as "pic"
Note: Due to its complexity, After entering this program on the Program Editor, go to the Home
this program takes several screen and enter cyc().
minutes to run.
ADDGR.DOC TI-89: Additional Graphing Tools (US English) Joan Terrell Revised: 07/29/98 1:23 PM Printed: 07/29/98 1:25 PM Page 207 of 20
Saving and Opening a Graph Database
Saving the Current From the Y= Editor, Window Editor, Table screen, or Graph screen:
Graph Database 1. Press ƒ and select
2:Save Copy As.
2. Specify the folder and a
unique variable name.
Note: If you start from the Graph
3. Press ¸. After typing in an screen, be sure to use Type = GDB .
input box such as Variable, you
must press ¸ twice.
Opening a Graph Caution: When you open a graph database, all information in the
Database current database is replaced. You may want to store the current
graph database before opening a stored database.
From the Y= Editor, Window Editor, Table screen, or Graph screen:
1. Press ƒ and select 1:Open.
2. Select the folder and variable
that contain the graph
database you want to open.
Note: If you start from the Graph
3. Press ¸. screen, be sure to use Type=GDB .
Deleting a Graph Unused GDB variables take up calculator memory. To delete them,
Database use the VAR-LINK screen ( 2 ° ) described in Chapter 21.
From a Program or You can save (store) and open (recall) a graph database by using the
the Home Screen StoGDB and RclGDB commands as described in Appendix A.
ADDGR.DOC TI-89: Additional Graphing Tools (US English) Joan Terrell Revised: 07/29/98 1:23 PM Printed: 07/29/98 1:25 PM Page 208 of 20
Chapter 13:
Tables
Preview of Tables.................................................................................. 210
Overview of Steps in Generating a Table ........................................... 211
The table lists a series of values for the independent variable and
shows the corresponding value of the dependent variable.
Independent variable
y(x) = x3 ì 2x
Dependent variable
TABLES.DOC TI-89: Tables (U.S. English) Joan Terrell Revised: 08/03/98 1:05 PM Printed: 08/03/98 2:30 PM Page 209 of 10
Preview of Tables
Evaluate the function y=x 3ì 2x at each integer between ë 10 and 10. How many sign
changes are there, and where do they occur?
TABLES.DOC TI-89: Tables (U.S. English) Joan Terrell Revised: 07/29/98 1:27 PM Printed: 07/29/98 1:28 PM Page 210 of 10
Overview of Steps in Generating a Table
Generating a Table
Set Graph mode and,
Note: Tables are not if necessary,
available in 3D Graph mode. Angle mode (3).
Define functions on
Tip: For information on Y= Editor (¥ #).
defining and selecting
functions with the Select (†) which
Y= Editor, refer to defined functions to
Chapter 6. display in the table.
TABLES.DOC TI-89: Tables (U.S. English) Joan Terrell Revised: 07/29/98 1:27 PM Printed: 07/29/98 1:28 PM Page 211 of 10
Setting Up the Table Parameters
Displaying the To display the TABLE SETUP dialog box, press ¥ &. From the
TABLE SETUP Table screen, you can also press „.
Dialog Box
TABLES.DOC TI-89: Tables (U.S. English) Joan Terrell Revised: 07/29/98 1:27 PM Printed: 07/29/98 1:28 PM Page 212 of 10
Which Setup To generate: tblStart @tbl Graph < - > Table Independent
Parameters to Use An automatic table
¦ Based on value value OFF AUTO
initial values
¦ That matches — — ON AUTO
Graph screen
A manual table — — — ASK
“—” means that any value entered for this parameter is ignored for
the indicated type of table.
In SEQUENCE graphing mode (Chapter 9), use integers for tblStart
and @tbl.
To change: Do this:
tblStart Type the new value. The existing value is
or erased when you start to type.
@tbl — or —
Press A or B to remove the highlighting.
Then edit the existing value.
Tip: To cancel a menu or Graph < - > Table Press A or B to display a menu of valid
exit the dialog box without or settings. Then either:
saving any changes, press
N instead of ¸. Independent
¦ Move the cursor to highlight the
setting and press ¸.
— or —
¦ Press the number for that setting.
From the Home You can set up a table’s parameters from the Home screen or a
Screen or a Program program. You can:
¦ Store values directly to the system variables tblStart and @tbl.
Refer to “Storing and Recalling Variable Values” in Chapter 2.
¦ Set Graph < - > Table and Independent by using the setTable
function. Refer to Appendix A.
TABLES.DOC TI-89: Tables (U.S. English) Joan Terrell Revised: 07/29/98 1:27 PM Printed: 07/29/98 1:28 PM Page 213 of 10
Displaying an Automatic Table
Before You Begin Define and select the applicable functions on the Y= Editor (¥ # ).
This example uses y1(x) = xò ì x/3.
Then enter the initial table
parameters (¥ & ).
The header row and the first column are fixed so that they cannot
scroll off the screen.
¦ When you scroll down or up, the variable and function names are
always visible across the top of the screen.
¦ When you scroll right or left, the values of the independent
variable are always visible along the left side of the screen.
TABLES.DOC TI-89: Tables (U.S. English) Joan Terrell Revised: 07/29/98 1:27 PM Printed: 07/29/98 1:28 PM Page 214 of 10
Changing the Cell width determines the maximum number of digits and symbols
Cell Width (decimal point, minus sign, and “í ” for scientific notation) that can
be displayed in a cell. All cells in the table have the same width.
To change the cell width from the
Table screen:
Note: By default, the cell 1. Press ¥ Í or ƒ 9.
width is 6.
2. Press B or A to display a menu
of valid widths (3 – 12).
3. Move the cursor to highlight a number and press ¸. (For
single-digit numbers, you can type the number and press ¸.)
4. Press ¸ to close the dialog box and update the table.
How Numbers Are Whenever possible, a number is shown according to the currently
Displayed in a Cell selected display modes (Display Digits, Exponential Format, etc.). The
number may be rounded as necessary. However:
Note: If a function is ¦ If a number’s magnitude is too large for the current cell width, the
undefined at a particular number is rounded and shown in scientific notation.
value, undef is displayed in
the cell. ¦ If the cell width is too narrow even for scientific notation, “...” is
shown.
Tip: Use 3 to set the By default, Display Digits = FLOAT 6. With this mode setting, a number
display modes. is shown with up to six digits, even if the cell is wide enough to show
more. Other settings similarly affect a displayed number.
TABLES.DOC TI-89: Tables (U.S. English) Joan Terrell Revised: 07/29/98 1:27 PM Printed: 07/29/98 1:28 PM Page 215 of 10
Editing a Selected From a table, you can change a selected function without having to
Function use the Y= Editor.
1. Move the cursor to any cell in the column for that function. The
table’s header row shows the function names (y1, etc.).
2. Press † to move the cursor to the entry line, where the function
is displayed and highlighted.
Tip: You can use this 3. Make any changes, as necessary.
feature to view a function
without leaving the table. ¦ Type the new function. The old function is erased when you
begin typing.
— or —
Tip: To cancel any changes ¦ Press M to clear the old function. Then type the new one.
and return the cursor to the — or —
table, press N instead of
¸. ¦ Press A or B to remove the highlighting. Then edit the
function.
4. Press ¸ to save the edited function and update the table. The
edited function is also saved in the Y= Editor.
If You Want to After generating an automatic table, you can change its setup
Change the Setup parameters as necessary.
Parameters Press „ or ¥ & to display the TABLE SETUP dialog box. Then
make your changes as described on pages 212 and 213.
TABLES.DOC TI-89: Tables (U.S. English) Joan Terrell Revised: 07/29/98 1:27 PM Printed: 07/29/98 1:28 PM Page 216 of 10
Building a Manual (Ask) Table
Entering or Editing You can enter a value in column 1 (independent variable) only.
an Independent 1. Move the cursor to highlight the cell you want to enter or edit.
Variable Value
¦ If you start with a blank table, you can enter a value in
consecutive cells only (row 1, row 2, etc.). You cannot skip
cells (row1, row3).
¦ If a cell in column 1 contains a value, you can edit that value.
Tip: To enter a new value in 2. Press … to move the cursor to the entry line.
a cell, you do not need to
press …. Simply begin 3. Type a new value or expression, or edit the existing value.
typing.
4. Press ¸ to move the value to the table and update the
corresponding function values.
The cursor returns to the entered cell. You can use D to move to the
next row.
TABLES.DOC TI-89: Tables (U.S. English) Joan Terrell Revised: 07/29/98 1:27 PM Printed: 07/29/98 1:28 PM Page 217 of 10
Entering a List in 1. Move the cursor to highlight any cell in the independent variable
the Independent column.
Variable Column 2. Press † to move the cursor to the entry line.
3. Type a series of values, enclosed in braces { } and separated by
commas. For example:
Note: If the independent
variable column contains x={1,1.5,1.75,2}
existing values, they are
shown as a list (which you You can also enter a list variable or an expression that evaluates
can edit).
to a list.
4. Press ¸ to move the values into the independent variable
column. The table is updated to show the corresponding function
values.
Cell Width and Several factors affect how numbers are displayed in a table. Refer to
Display Formats “Changing the Cell Width” and “How Numbers Are Displayed in a
Cell” on page 215.
From the Home System variable tblZnput contains a list of all independent variable
Screen or a Program values entered in the table, even those not currently displayed.
tblZnput is also used for an automatic table, but it contains only the
independent variable values that are currently displayed.
Before displaying a table, you can store a list of values directly to the
tblZnput system variable.
TABLES.DOC TI-89: Tables (U.S. English) Joan Terrell Revised: 07/29/98 1:27 PM Printed: 07/29/98 1:28 PM Page 218 of 10
Chapter 14:
Split Screens
Preview of Split Screens....................................................................... 220
Setting and Exiting the Split Screen Mode......................................... 221
On the TI-89, you can split the screen to show two applications at
the same time.
SPLIT.DOC TI-89:Split Screens (US English) Joan Terrell Revised: 08/03/98 1:06 PM Printed: 08/03/98 2:31 PM Page 219 of 6
Preview of Split Screens
Split the screen to show the Y= Editor and the Graph screen. Then explore the behavior
of a polynomial as its coefficients change.
SPLIT.DOC TI-89:Split Screens (US English) Joan Terrell Revised: 07/26/98 4:12 PM Printed: 07/29/98 1:21 PM Page 220 of 6
Setting and Exiting the Split Screen Mode
Note: In two-graph mode, If you set Split 1 App and Split 2 App to the same application, the TI-89
described in Chapter 12, the exits the split screen mode and displays the application full screen.
same application can be in
both parts of a split screen. You can open different applications after the split screen is
displayed, as described on page 223.
SPLIT.DOC TI-89:Split Screens (US English) Joan Terrell Revised: 07/26/98 4:12 PM Printed: 07/29/98 1:21 PM Page 221 of 6
Other Modes that Mode Description
Affect a Split Screen Number of Graphs Lets you set up and display two
independent sets of graphs.
Note: Leave this set to 1
unless you have read This is an advanced graphing feature as
the applicable section
in Chapter 12. described in “Using the Two-Graph Mode”
in Chapter 12.
Split Screens and The TI-89 has commands that use pixel coordinates to draw lines,
Pixel Coordinates circles, etc., on the Graph screen. The following chart shows how the
Split Screen settings affect the number of pixels available on the
Graph screen.
Exiting the Split Method 1: Press 3 to display the MODE dialog box. Then set
Screen Mode Split Screen = FULL. When you press ¸ to close the
dialog box, the full-sized screen shows the application
specified in Split 1 App.
Method 2: Press 2 K twice to display a full-sized Home screen.
When You Turn Off Turning the TI-89 off does not exit the split screen mode.
the TI-89
If the TI-89 is turned off: When you turn the TI-89 on again:
When you press 2 ® The split screen is still in effect, but the
Home screen is always displayed in
place of the application that was active
when you pressed 2 ®.
By the Automatic Power The split screen is just as you left it.
Down (APD) feature, or
when you press ¥ ®.
SPLIT.DOC TI-89:Split Screens (US English) Joan Terrell Revised: 07/26/98 4:12 PM Printed: 07/29/98 1:21 PM Page 222 of 6
Selecting the Active Application
SPLIT.DOC TI-89:Split Screens (US English) Joan Terrell Revised: 07/26/98 4:12 PM Printed: 07/29/98 1:21 PM Page 223 of 6
Using 2 K to If the Home screen: Pressing 2 K :
Display the Home Is not already displayed Opens the Home screen in place of the
Screen active application.
Is displayed, but is not Switches to the Home screen and makes
Tip: Pressing 2 K twice the active application it the active application.
always exits the split screen
mode. Is the active application Exits the split screen mode and displays
a full-sized Home screen.
When Using a When you select a TOP-BOTTOM split, remember that the entry line
Top-Bottom Split and the toolbar are always associated with the active application.
For example:
SPLIT.DOC TI-89:Split Screens (US English) Joan Terrell Revised: 07/26/98 4:12 PM Printed: 07/29/98 1:21 PM Page 224 of 6
Chapter 15:
Data/Matrix Editor
Preview of the Data/Matrix Editor...................................................... 226
Overview of List, Data, and Matrix Variables .................................... 227
DATAMA.DOC TI-89: Data/Matrix Editor (US English) Joan Terrell Revised: 08/03/98 1:04 PM Printed: 08/03/98 2:32 PM Page 225 of 16
Preview of the Data/Matrix Editor
Use the Data/Matrix Editor to create a one-column list variable. Then add a second
column of information. Notice that the list variable (which can have only one column) is
automatically converted into a data variable (which can have multiple columns).
Tip: If you don’t need to save the current variable, use it as a scratchpad. The next time you need
a variable for temporary data, clear the current variable and re-use it. This lets you enter
temporary data without creating a new variable each time, which uses up memory.
DATAMA.DOC TI-89: Data/Matrix Editor (US English) Joan Terrell Revised: 07/29/98 1:29 PM Printed: 07/29/98 1:30 PM Page 226 of 16
Overview of List, Data, and Matrix Variables
Data Variable A data variable is essentially a collection of lists that may or may not
be related. In the Data/Matrix Editor, a data variable:
¦ Can have up to 99
columns.
Note: For stat calculations, ¦ Can have up to 999
columns must have the elements in each
same length.
column. Depending on
the kind of data, all
columns may not have
to be the same length.
¦ Must have continuous columns; blank or empty cells are not
allowed within a column.
DATAMA.DOC TI-89: Data/Matrix Editor (US English) Joan Terrell Revised: 07/29/98 1:29 PM Printed: 07/29/98 1:30 PM Page 227 of 16
Data Variable From the Home screen
NewData data1,list1,list2
(Continued) or a program, you can
use the NewData Names of existing
command to create a list variables
data variable that Name of data variable
to create
consists of existing lists.
Although you cannot Name of data variable
directly display a data Column number
variable on the Home
screen, you can display data1[1]
a specified column or (data1[1])[1]
element.
Element number in the
column
Column number
Displays column 1 of the variable data1.
For example:
Tip: After creating a matrix From the Home screen or a row 1 row 2
in the Data/Matrix Editor, program, you can use § to
you can use the matrix in [[1,2,3][4,5,6]]! mat1
any application (such as the store a matrix with either of the [1,2,3;4,5,6]! mat1
Home screen). equivalent methods shown to
the right. row 1 row 2
DATAMA.DOC TI-89: Data/Matrix Editor (US English) Joan Terrell Revised: 07/29/98 1:29 PM Printed: 07/29/98 1:30 PM Page 228 of 16
Starting a Data/Matrix Editor Session
Each time you start the Data/Matrix Editor, you can create a
new variable, resume using the current variable (the variable
that was displayed the last time you used the Data/Matrix
Editor), or open an existing variable.
DATAMA.DOC TI-89: Data/Matrix Editor (US English) Joan Terrell Revised: 07/29/98 1:29 PM Printed: 07/29/98 1:30 PM Page 229 of 16
Using the Current You can leave the Data/Matrix Editor and go to another application
Variable at any time. To return to the variable that was displayed when you
left the Data/Matrix Editor, press O 6 and select 1:Current.
Note about Because all Data/Matrix Editor variables are saved automatically,
Deleting a Variable you can accumulate quite a few variables, which take up memory.
To delete a variable, use the VAR-LINK screen ( 2 ° ). For
information about VAR-LINK, refer to Chapter 21.
DATAMA.DOC TI-89: Data/Matrix Editor (US English) Joan Terrell Revised: 07/29/98 1:29 PM Printed: 07/29/98 1:30 PM Page 230 of 16
Entering and Viewing Cell Values
The Data/Matrix A blank Data/Matrix Editor screen is shown below. When the screen
Editor Screen is displayed initially, the cursor highlights the cell at row 1, column1.
Variable type
Column headers
Tip: Use the title cell at the
very top of each column to Row numbers
identify the information in
that column.
Row and column
number of
highlighted cell
Column title cells, used to type
a title for each column
When values are entered, the entry line shows the full value of the
highlighted cell.
Entering or Editing You can enter any type of expression in a cell (number, variable,
a Value in a Cell function, string, etc.).
1. Move the cursor to highlight the cell you want to enter or edit.
Tip: To enter a new value, 2. Press ¸ or … to move the cursor to the entry line.
you can start typing without
pressing ¸ or … first. 3. Type a new value or edit the existing one.
However, you must use
¸ or … to edit an 4. Press ¸ to enter the value into the highlighted cell.
existing value.
When you press ¸, the cursor automatically moves to highlight
the next cell so that you can continue entering or editing values.
However, the variable type affects the direction that the cursor
moves.
DATAMA.DOC TI-89: Data/Matrix Editor (US English) Joan Terrell Revised: 07/29/98 1:29 PM Printed: 07/29/98 1:30 PM Page 231 of 16
Scrolling through To move the cursor: Press:
the Editor One cell at a time D, C, B, or A
One page at a time 2 and then D, C, B, or A
Go to row 1 in the current ¥ C or
column or to the last row ¥D
that contains data for any
column on the screen,
respectively. If the cursor is
in or past that last row, ¥
D goes to row 999.
Go to column 1 or to the ¥ A or
last column that contains ¥ B
data, respectively. If the
cursor is in or past that last
column, ¥ B goes to
column 99.
When you scroll down/up, the header row remains at the top of the
screen so that the column numbers are always visible. When you
scroll right/left, the row numbers remain on the left side of the
screen so that they are always visible.
How Rows and When you enter a value in a cell, the cursor moves to the next cell.
Columns Are Filled However, you can move the cursor to any cell and enter a value. If
Automatically you leave gaps between cells, the TI-89 handles the gaps
automatically.
¦ In a list variable, a cell in the gap is undefined until you enter a
value for the cell.
&
DATAMA.DOC TI-89: Data/Matrix Editor (US English) Joan Terrell Revised: 07/29/98 1:29 PM Printed: 07/29/98 1:30 PM Page 232 of 16
¦ In a matrix variable, when you enter a value in a cell outside the
current boundaries, additional rows and/or columns are added
automatically to the matrix to include the new cell. Other cells in
the new rows and/or columns are filled with zeros.
Changing the The cell width affects how many characters are displayed in any cell.
Cell Width To change the cell width in the Data/Matrix Editor:
1. Press ¥ Í or ƒ 9 to display the FORMATS dialog box.
Cell width is the maximum
Tip: Remember, to see a number of characters that can
number in full precision, you be displayed in a cell.
can always highlight the cell
and look at the entry line. All cells have the same cell
width.
2. With the current Cell Width setting highlighted, press B or A to
display a menu of digits (3 through 12).
3. Move the cursor to highlight a number and press ¸. (For
single-digit numbers, you can type the number and press ¸.)
4. Press ¸ to close the dialog box.
Clearing a Column This procedure erases the contents of a column. It does not delete
or all Columns the column.
To clear: Do this:
Note: For a list or data A column 1. Move the cursor to any cell in the column.
variable, a clear column is
empty. For a matrix, a clear 2. Press 2 ˆ and select 5:Clear Column. (This
column contains zeros. item is not available for a matrix.)
All columns Press ƒ and select 8:Clear Editor. When prompted
for confirmation, press ¸ (or N to cancel).
DATAMA.DOC TI-89: Data/Matrix Editor (US English) Joan Terrell Revised: 07/29/98 1:29 PM Printed: 07/29/98 1:30 PM Page 233 of 16
Inserting and Deleting a Row, Column, or Cell
Note About Column You cannot delete the rows or cells that contain column titles or
Titles and Headers headers. Also, you cannot insert a row or cell before a column title or
header.
Inserting a Row or The new row or column is inserted before the row or column that
Column contains the highlighted cell. In the Data/Matrix Editor:
1. Move the cursor to any cell in the applicable row or column.
2. Press 2 ˆ and select
1:Insert.
3. Select either 2:row or
3:column.
Note: For a list variable, When you insert a row:
inserting a row is the same
as inserting a cell. ¦ In a list or data
variable, the row is
undefined.
&
¦ In a matrix variable,
the row is filled with
zeros.
Note: For a list variable, you When you insert a column:
cannot insert a column
because a list has only one ¦ In a data variable,
column. the column is
blank.
&
¦ In a matrix
variable, the
column is filled
with zeros.
You can then enter values in the undefined or blank cells.
DATAMA.DOC TI-89: Data/Matrix Editor (US English) Joan Terrell Revised: 07/29/98 1:29 PM Printed: 07/29/98 1:30 PM Page 234 of 16
Inserting a Cell The new cell is inserted before the highlighted cell in the same
column. (You cannot insert a cell into a locked column, which is
defined by a function in the column header. Refer to page 236.) In the
Data/Matrix Editor:
1. Move the cursor to the
applicable cell.
2. Press 2 ˆ and select
1:Insert.
3. Select 1:cell.
Note: For a matrix variable, The inserted cell is
you cannot insert a cell undefined. You can then
because the matrix must
enter a value in the cell.
retain a rectangular shape. &
If you delete a row, any rows below the deleted row are shifted up.
If you delete a column, any columns to the right of the deleted
column are shifted left.
If You Need to Add a You do not need to use the 2 ˆ Util toolbar menu to:
New “Last” Row, ¦ Add a new row or cell at the bottom of a column.
Column, or Cell — or —
¦ Add a new column to the right of the last column.
Simply move the cursor to the applicable cell and enter a value.
DATAMA.DOC TI-89: Data/Matrix Editor (US English) Joan Terrell Revised: 07/29/98 1:29 PM Printed: 07/29/98 1:30 PM Page 235 of 16
Defining a Column Header with an Expression
Clearing a Header 1. Move the cursor to any cell in the column and press † .
Definition —or—
Move the cursor to the header cell (c1, c2, etc.) and press ¸ .
2. Press M to clear the highlighted expression.
3. Press ¸ , D , or C .
DATAMA.DOC TI-89: Data/Matrix Editor (US English) Joan Terrell Revised: 07/29/98 1:29 PM Printed: 07/29/98 1:30 PM Page 236 of 16
Using an Existing Suppose you have one or more existing lists, and you want to use
List as a Column those existing lists as columns in a data variable.
Tip: Use 2 ° to see Home screen or a Use the NewData command as described in
existing list variables. program Appendix A. For example:
NewData datavar, list1 [, list2] [, list3] ...
Existing list variables to
copy to columns in the
data variable.
Data variable. If this data
variable already exists, it will
be redefined based on the
specified lists.
To Fill a Matrix with You cannot use the Data/Matrix Editor to fill a matrix with a list.
a List However, you can use the listú mat command from the Home screen
or a program. For information, refer to Appendix A.
The Auto-calculate For list and data variables, the Data/Matrix Editor has an
Feature Auto-calculate feature. By default, Auto-calculate = ON. Therefore, if
you make a change that affects a header definition (or any column
referenced in a header definition), all header definitions are
recalculated automatically. For example:
¦ If you change a header definition, the new definition is applied
automatically.
¦ If column 2’s header is defined as c2=2ù c1, any change you make
in column 1 is automatically reflected in column 2.
Tip: You may want to set To turn Auto-calculate off and on from the Data/Matrix Editor:
Auto-calculate = OFF to:
DATAMA.DOC TI-89: Data/Matrix Editor (US English) Joan Terrell Revised: 07/29/98 1:29 PM Printed: 07/29/98 1:30 PM Page 237 of 16
Using Shift and CumSum Functions in a Column Header
When defining a column header, you can use the shift and
cumSum functions as described below. These descriptions
differ slightly from Appendix A. This section describes how to
use the functions in the Data/Matrix Editor. Appendix A gives a
more general description for the Home screen or a program.
Using the Shift The shift function copies a base column and shifts it up or down by a
Function specified number of elements. Use † to define a column header
with the syntax:
shift (column [,integer])
Using the CumSum The cumSum function returns a cumulative sum of the elements in a
Function base column. Use † to define a column header with the syntax:
cumSum (column)
Column used as the base for the cumulative sum
For example:
c2=cumSum(c1)
DATAMA.DOC TI-89: Data/Matrix Editor (US English) Joan Terrell Revised: 07/29/98 1:29 PM Printed: 07/29/98 1:30 PM Page 238 of 16
Sorting Columns
c1 c1
Numbers are sorted in ascending fred & 75
order. sally 82
chris & 98
Character strings are sorted in jane chris
alphabetical order. 75 & fred
98 jane
82 sally
Sorting All Columns Consider a database structure in which each column along the same
Based on a “Key” row contains related information (such as a student’s first name, last
Column name, and test scores). In such a case, sorting only a single column
would destroy the relationship between the columns.
In the Data/Matrix Editor:
1. Move the cursor to any
Note: For a list variable, this cell in the “key” column.
is the same as sorting a
single column. In this example, move the
cursor to the second column
(c2) to sort by last name.
Note: This menu item is not 2. Press 2 ˆ and select
available if any column is 4:Sort Col, adjust all.
locked.
DATAMA.DOC TI-89: Data/Matrix Editor (US English) Joan Terrell Revised: 07/29/98 1:29 PM Printed: 07/29/98 1:30 PM Page 239 of 16
Saving a Copy of a List, Data, or Matrix Variable
You can save a copy of a list, data, or matrix variable. You can
also copy a list to a data variable, or you can select a column
from a data variable and copy that column to a list.
To Copy a Data A data variable can have multiple columns, but a list variable can
Column to a List have only one column. Therefore, when copying from a data variable
to a list, you must select the column that you want to copy.
DATAMA.DOC TI-89: Data/Matrix Editor (US English) Joan Terrell Revised: 07/29/98 1:29 PM Printed: 07/29/98 1:30 PM Page 240 of 16
Chapter 16:
Statistics and Data Plots
Preview of Statistics and Data Plots................................................... 242
Overview of Steps in Statistical Analysis ........................................... 246
STATPLOT.DOC TI-89: Statistics and Data Plots (US English) Joan Terrell Revised: 08/03/98 1:06 PM Printed: 08/03/98 2:33 PM Page 241 of 22
Preview of Statistics and Data Plots
Based on a sample of seven cities, enter data that relates population to the number of
buildings with more than 12 stories. Using Median-Median and linear regression
calculations, find and plot equations to fit the data. For each regression equation, predict
how many buildings of more than 12 stories you would expect in a city of 300,000 people.
STATPLOT.DOC TI-89: Statistics and Data Plots (US English) Joan Terrell Revised: 07/29/98 1:22 PM Printed: 07/29/98 1:23 PM Page 242 of 22
Steps Keystrokes Display
STATPLOT.DOC TI-89: Statistics and Data Plots (US English) Joan Terrell Revised: 07/29/98 1:22 PM Printed: 07/29/98 1:23 PM Page 243 of 22
Steps Keystrokes Display
STATPLOT.DOC TI-89: Statistics and Data Plots (US English) Joan Terrell Revised: 07/29/98 1:22 PM Printed: 07/29/98 1:23 PM Page 244 of 22
Steps Keystrokes Display
STATPLOT.DOC TI-89: Statistics and Data Plots (US English) Joan Terrell Revised: 07/29/98 1:22 PM Printed: 07/29/98 1:23 PM Page 245 of 22
Overview of Steps in Statistical Analysis
Perform stat
calculations to find
stat variables or fit
data to a model (‡).
STATPLOT.DOC TI-89: Statistics and Data Plots (US English) Joan Terrell Revised: 07/29/98 1:22 PM Printed: 07/29/98 1:23 PM Page 246 of 22
Performing a Statistical Calculation
The Calculate You must have a data variable opened. The Data/Matrix Editor will
Dialog Box not perform statistical calculations with a list or matrix variable.
From the Data/Matrix Editor:
1. Press ‡ to display the
Pathname of the
Calculate dialog box. data variable
Item Description
Calculation Type Select the type of calculation. For descriptions,
refer to page 249.
Tip: To use an existing list x Type the column number in the Data/Matrix
variable for x, y, Freq, or Editor (C1, C2, etc.) used for x values, the
Category, type the list name
instead of a column number.
independent variable.
y Type the column number used for y values, the
dependent variable. This is required for all
Calculation Types except OneVar.
STATPLOT.DOC TI-89: Statistics and Data Plots (US English) Joan Terrell Revised: 07/29/98 1:22 PM Printed: 07/29/98 1:23 PM Page 247 of 22
The Calculate Item Description
Dialog Box Freq Type the column number that contains a
(Continued) “weight” value for each data point. If you do
not enter a column number, all data points are
assumed to have the same weight (1).
Note: For an example of Category Type the column number that contains a
using Freq, Category, and category value for each data point.
Include Categories, refer to
page 258. Include If you specify a Category column, you can use
Categories this item to limit the calculation to specified
category values. For example, if you specify
{1,4}, the calculation uses only data points with
a category value of 1 or 4.
Redisplaying the The Data/Matrix Editor’s 2 ‰ Stat toolbar menu redisplays the
STAT VARS Screen previous calculation results (until they are cleared from memory).
Previous results are cleared when you:
¦ Edit the data points or change the Calculation Type.
¦ Open another data variable or reopen the same data variable
(if the calculation referred to a column in a data variable). Results
are also cleared if you leave and then reopen the Data/Matrix
Editor with a data variable.
¦ Change the current folder (if the calculation referred to a list
variable in the previous folder).
STATPLOT.DOC TI-89: Statistics and Data Plots (US English) Joan Terrell Revised: 07/29/98 1:22 PM Printed: 07/29/98 1:23 PM Page 248 of 22
Statistical Calculation Types
Selecting the From the Calculate dialog box ( ‡ ), highlight the current setting for
Calculation Type the Calculation Type and press B.
STATPLOT.DOC TI-89: Statistics and Data Plots (US English) Joan Terrell Revised: 07/29/98 1:22 PM Printed: 07/29/98 1:23 PM Page 249 of 22
Selecting the Calc Type Description
Calculation Type MedMed Median-Median — Fits the data to the model y=ax+b
(Continued) (where a is the slope, and b is the y-intercept) using the
median-median line, which is part of the resistant line
technique.
Summary points medx1, medy1, medx2, medy2, medx3,
and medy3 are calculated and stored to variables, but
they are not displayed on the STAT VARS screen.
PowerReg Power regression — Fits the data to the model equation
y=ax b using a least-squares fit and transformed values
ln(x) and ln(y).
QuadReg Quadratic regression — Fits the data to the second-
order polynomial y=axñ +bx+c. You must have at least
three data points.
¦ For three points, the equation is a polynomial fit.
¦ For four or more points, it is a polynomial regression.
QuartReg Quartic regression — Fits the data to the fourth-order
polynomial y=ax 4+bxò +cxñ + dx+e. You must have at
least five data points.
¦ For five points, the equation is a polynomial fit.
¦ For six or more points, it is a polynomial regression.
SinReg Sinusoidal regression — Calculates the sinusoidal
regression and updates all the system statistics
variables. The output is always in radians, regardless of
the angle mode setting.
From the Home Use the applicable command for the calculation that you want to
Screen or a Program perform. The commands have the same name as the corresponding
Calculation Type. Refer to Appendix A for information about each
command.
Important: These commands perform a statistical calculation but
do not automatically display the results. Use the ShowStat command
to show the calculation results.
STATPLOT.DOC TI-89: Statistics and Data Plots (US English) Joan Terrell Revised: 07/29/98 1:22 PM Printed: 07/29/98 1:23 PM Page 250 of 22
Statistical Variables
Calculated Variables Statistical variables are stored as system variables. However, regCoef
and regeq are treated as a list and a function variable, respectively.
One Two
Var Var Regressions
mean of x values ü ü
sum of x values Gx Gx
Tip: From the keyboard,
press ¥ c ¤ [S] for G sum of xñ values Gxñ Gxñ
and ¥ c j [S] for s. sample std. deviation of x Sx Sx
population std. deviation of x † sx sx
Tip: To type a power (such number of data points nStat nStat
as 2 in Gxñ ), ü, or ý, press
2 ¿ and select it from
mean of y values ÿ
the Math menu. sum of y values Gy
sum of yñ values Gyñ
sample standard deviation of y Sy
population std. deviation of y † sy
sum of xù y values Gxy
minimum of x values minX minX
maximum of x values maxX maxX
minimum of y values minY
maximum of y values maxY
1st quartile q1
median medStat
3rd quartile q3
Note: 1st quartile is the regression equation regeq
median of points between
minX and medStat, and 3rd regression coefficients (a, b, c, d, e) regCoef
quartile is the median of points correlation coefficient †† corr
between medStat and maxX. coefficient of determination †† Rñ
summary points medx1, medy1,
Tip: If regeq is 4x + 7, then (MedMed only) † medx2, medy2,
regCoef is {4 7}. To access medx3, medy3
the “a” coefficient (the 1st
element in the list), use an
index such as regCoef[1]. † The indicated variables are calculated but are not shown on the
STAT VARS screen.
†† corr is defined for a linear regression only; Rñ is defined for all
polynomial regressions.
STATPLOT.DOC TI-89: Statistics and Data Plots (US English) Joan Terrell Revised: 07/29/98 1:22 PM Printed: 07/29/98 1:23 PM Page 251 of 22
Defining a Statistical Plot
From the Data/Matrix Editor, you can use the entered data to
define several types of statistical plots. You can define up to
nine plots at a time.
Item Description
Plot Type Select the type of plot. For descriptions, refer to
page 254.
Mark Select the symbol used to plot the data points:
Box (›), Cross (x), Plus (+), Square (0), or Dot (ø ).
Note: Plots defined with x Type the column number in the Data/Matrix
column numbers always use Editor (C1, C2, etc.) used for x values, the
the last data variable in the independent variable.
Data/Matrix Editor, even if
that variable was not used y Type the column number used for y values, the
to create the definition.
dependent variable. This is active only for
Plot Type = Scatter or xyline.
Tip: To use an existing list
variable for x, y, Freq, or Hist. Bucket Specifies the width of each bar in a histogram.
Category, type the list name
instead of the column
Width For more information, refer to page 255.
number. Use Freq and Select NO or YES. Note that Freq, Category, and
Categories? Include Categories are active only when
Use Freq and Categories? = YES. (Freq is active
only for Plot Type = Box Plot or Histogram.)
STATPLOT.DOC TI-89: Statistics and Data Plots (US English) Joan Terrell Revised: 07/29/98 1:22 PM Printed: 07/29/98 1:23 PM Page 252 of 22
Item Description
Note: For an example of Freq Type the column number that contains a “weight”
using Freq, Category, and value for each data point. If you do not enter a
Include Categories, refer to
column number, all data points are assumed to
page 258.
have the same weight (1).
Category Type the column number that contains a category
value for each data point.
Include If you specify a Category, you can use this to limit
Categories the calculation to specified category values. For
example, if you specify {1,4}, the plot uses only
data points with a category value of 1 or 4.
Selecting or From Plot Setup, highlight the plot and press † to toggle it on or off.
Deselecting a Plot If a stat plot is selected, it remains selected when you:
¦ Change the graph mode. (Stat plots are not graphed in 3D mode.)
¦ Execute a Graph command.
¦ Open a different variable in the Data/Matrix Editor.
Clearing a Plot From Plot Setup, highlight the plot and press …. To redefine an
Definition existing plot, you do not necessarily need to clear it first; you can
make changes to the existing definition. To prevent a plot from
graphing, you can deselect it.
STATPLOT.DOC TI-89: Statistics and Data Plots (US English) Joan Terrell Revised: 07/29/98 1:22 PM Printed: 07/29/98 1:23 PM Page 253 of 22
Statistical Plot Types
Scatter Data points from x and y are plotted as coordinate pairs. Therefore,
the columns or lists that you specify for x and y must be the same
length.
¦ Plotted points are shown
with the symbol that you
select as the Mark.
¦ If necessary, you can specify
the same column or list for
both x and y.
Box Plot This plots one-variable data with respect to the minimum and
maximum data points (minX and maxX) in the set.
¦ A box is defined by its first Q1 Med Q3
quartile (Q1), median (Med),
and third quartile (Q3).
¦ Whiskers extend from minX
to Q1 and from Q3 to maxX. minX maxX
STATPLOT.DOC TI-89: Statistics and Data Plots (US English) Joan Terrell Revised: 07/29/98 1:22 PM Printed: 07/29/98 1:23 PM Page 254 of 22
Histogram This plots one-variable data as a histogram. The x axis is divided into
equal widths called buckets or bars. The height of each bar (its y
value) indicates how many data points fall within the bar’s range.
¦ When defining the plot, you xmax ì xmin
can specify the Hist. Bucket Number of bars = Hist. Bucket Width
Width (default is 1) to set
the width of each bar.
¦ A data point at the edge of
a bar is counted in the bar
to the right.
¦ ZoomData ( „ 9 from the
Graph screen, Y= Editor, or
Window Editor) adjusts xmin + Hist. Bucket Width
xmin and xmax to include xmin
all data points, but it does
not adjust the y axis.
− Use ¥ $ to set
ymin = 0 and ymax = the
number of data points
expected in the tallest
bar. Trace cursor
Range of # of data
the traced points in the
bar traced bar
STATPLOT.DOC TI-89: Statistics and Data Plots (US English) Joan Terrell Revised: 07/29/98 1:22 PM Printed: 07/29/98 1:23 PM Page 255 of 22
Using the Y= Editor with Stat Plots
Showing the List of Press ¥ # to display the Y= Editor. Initially, the nine stat plots are
Stat Plots located “off the top” of the screen, above the y(x) functions.
However, the PLOTS indicator provides some information.
To see the list of stat plots, use C to scroll above the y(x) functions.
From the Y= Editor, you can perform most of the same operations on
a stat plot as you can on any other y(x) function.
To: Do this:
Note: You cannot use Edit a plot Highlight the plot and press …. You will see the
2 ˆ to set a plot’s definition same definition screen that is displayed in the
display style. However, the
plot definition lets you select Data/Matrix Editor.
the mark used for the plot.
Select or deselect Highlight the plot and press †.
a plot
Turn all plots Press ‡ and select the applicable item. You can
and/or functions also use this menu to turn all functions on.
off
To Graph Plots and As necessary, you can select and graph stat plots and y(x) functions
Y= Functions at the same time. The preview example at the beginning of this
chapter graphs data points and their regression equations.
STATPLOT.DOC TI-89: Statistics and Data Plots (US English) Joan Terrell Revised: 07/29/98 1:22 PM Printed: 07/29/98 1:23 PM Page 256 of 22
Graphing and Tracing a Defined Stat Plot
After entering the data points and defining the stat plots, you
can graph the selected plots by using the same methods you
used to graph a function from the Y= Editor (as described in
Chapter 6).
Defining the Stat plots are displayed on the current graph, and they use the
Viewing Window Window variables that are defined in the Window Editor.
Use ¥ $ to display the Window Editor. You can either:
¦ Enter appropriate values.
— or —
¦ Select 9:ZoomData from the „ Zoom toolbar menu. (Although you
can use any zoom, ZoomData is optimized for stat plots.)
Tip: „ Zoom is available ZoomData sets the viewing window to
on the Y= Editor, Window display all statistical data points.
Editor, and Graph screen.
For histograms and box plots, only xmin
and xmax are adjusted. If the top of a
histogram is not shown, trace the
histogram to find the value for ymax.
Tracing a Stat Plot From the Graph screen, press … to trace a plot. The movement of
the trace cursor depends on the Plot Type.
STATPLOT.DOC TI-89: Statistics and Data Plots (US English) Joan Terrell Revised: 07/29/98 1:22 PM Printed: 07/29/98 1:23 PM Page 257 of 22
Using Frequencies and Categories
Example of a In a data variable, you can use any column in the Data/Matrix Editor
Frequency Column to specify a frequency value (or weight) for the data points on each
row. A frequency value must be an integer ‚ 0 if Calculation Type =
OneVar or MedMed or if Plot Type = Box Plot. For other statistical
calculations or plots, the frequency value can be any number ‚ 0.
For example, suppose you enter a student’s test scores, where:
¦ The mid-semester exam is weighted twice as much as other tests.
¦ The final exam is weighted three times as much.
In the Data/Matrix Editor, you can enter the test scores and
frequency values in two columns.
Test scores
Frequency values
c1 c2 These c1
Tip: A frequency value of 0 85 1 weighted scores
effectively removes the data 85
97 1 are equivalent to 97
point from analysis. 92 2 the single column
of scores listed to
92 Frequency of 2
89 1 the right. 92
91 1 89
95 3 91
95
95 Frequency of 3
95
Note: You can also use To use frequency values, specify the frequency column when you
frequency values from a list perform a statistical calculation or define a stat plot. For example:
variable instead of a
column.
Example of a In a data variable, you can use any column to specify a category (or
Category Column subset) value for the data points on each row. A category value can
be any number.
STATPLOT.DOC TI-89: Statistics and Data Plots (US English) Joan Terrell Revised: 07/29/98 1:22 PM Printed: 07/29/98 1:23 PM Page 258 of 22
Suppose you enter the test scores from a class that has 10th and 11th
grade students. You want to analyze the scores for the whole class,
but you also want to analyze categories such as 10th grade girls, 10th
grade boys, 10th grade girls and boys, etc.
First, determine the category values you want to use.
Note: You can also use To use category values, specify the category column and the
category values from a list category values to include in the analysis when you perform a
variable instead of a
column. statistical calculation or define a stat plot.
STATPLOT.DOC TI-89: Statistics and Data Plots (US English) Joan Terrell Revised: 07/29/98 1:22 PM Printed: 07/29/98 1:23 PM Page 259 of 22
If You Have a CBL or CBR
How CBL Data Is When you collect data with the CBL, that data is initially stored in the
Stored CBL unit itself. You must then retrieve the data (transfer it to the
TI-89) by using the Get command, which is described in Appendix A.
Although each set of retrieved data can be stored in several variable
types (list, real, matrix, pic), using list variables makes it easier to
perform statistical calculations.
Note: For specifics about When you transfer the collected information to the TI-89, you can
using the CBL and retrieving specify the list variable names that you want to use. For example,
data to the TI-89, refer to the
guidebook that comes with you can use the CBL to collect temperature data over a period of
the CBL unit. time. When you transfer the data, suppose you store:
¦ Temperature data in a list variable called temp.
¦ Time data in a list variable called time.
After you store the CBL information on the TI-89, there are two ways
to use the CBL list variables.
Referring to the When you perform a statistical calculation or define a plot, you can
CBL Lists refer explicitly to the CBL list variables. For example:
STATPLOT.DOC TI-89: Statistics and Data Plots (US English) Joan Terrell Revised: 07/29/98 1:22 PM Printed: 07/29/98 1:23 PM Page 260 of 22
Creating a Data You can create a new data variable that consists of the necessary
Variable with the CBL list variables.
CBL Lists
¦ From the Home screen or a program, use the NewData command.
NewData dataVar, list1 [,list2 ] [,list3 ] ...
For example:
NewData temp1, time, temp
creates a data variable called temp1 in which time is in column 1
and temp is in column 2.
Tip: To define or clear a ¦ From the Data/Matrix Editor, create a new, empty data variable
column header, use †. For with the applicable name. For each CBL list that you want to
more information, refer to
Chapter 15. include, define a column header as that list name.
At this point, the columns are linked to the CBL lists. If the lists
are changed, the columns will be updated automatically.
However, if the lists are deleted, the data will be lost.
To make the data variable independent of the CBL lists, clear the
column header for each column. The information remains in the
column, but the column is no longer linked to the CBL list.
CBR You can also use the Calculator-Based Ranger™ (CBR™) to explore
the mathematical and scientific relationships between distance,
velocity, acceleration, and time using data collected from activities
you perform. However, you will first need to obtain a separate CBR
program for the TI-89, which is available from the TI web site at:
http://www.ti.com/calc/docs/89.htm
STATPLOT.DOC TI-89: Statistics and Data Plots (US English) Joan Terrell Revised: 07/29/98 1:22 PM Printed: 07/29/98 1:23 PM Page 261 of 22
262 Chapter 16: Statistics and Data Plots
STATPLOT.DOC TI-89: Statistics and Data Plots (US English) Joan Terrell Revised: 07/29/98 1:22 PM Printed: 07/29/98 1:23 PM Page 262 of 22
Chapter 17:
Programming
Preview of Programming...................................................................... 264
Running an Existing Program.............................................................. 266
PROGRAM.DOC TI-89:Programming (US English) Joan Terrell Revised: 08/03/98 1:07 PM Printed: 08/03/98 2:33 PM Page 263 of 40
Preview of Programming
Write a program that prompts the user to enter an integer, sums all integers from 1 to the
entered integer, and displays the result.
PROGRAM.DOC TI-89:Programming (US English) Joan Terrell Revised: 07/29/98 1:26 PM Printed: 07/29/98 1:30 PM Page 264 of 40
Steps Keystrokes Display
PROGRAM.DOC TI-89:Programming (US English) Joan Terrell Revised: 07/29/98 1:26 PM Printed: 07/29/98 1:30 PM Page 265 of 40
Running an Existing Program
PROGRAM.DOC TI-89:Programming (US English) Joan Terrell Revised: 07/29/98 1:26 PM Printed: 07/29/98 1:30 PM Page 266 of 40
Where Is the Output Depending on the commands in the program, the TI-89 automatically
Displayed? displays information on the applicable screen.
¦ Most output and input commands use the Program I/O screen.
(Input commands prompt the user to enter information.)
¦ Graph-related commands typically use the Graph screen.
After the program stops, the TI-89 shows the last screen that was
displayed.
The Program I/O On the Program I/O screen, new output is displayed below any
Screen previous output (which may have been displayed earlier in the same
program or a different program). After a full page of output, the
previous output scrolls off the top of the screen.
Tip: If Home screen When a program stops on the Program I/O screen, you need to
calculations don’t work after recognize that it is not the Home screen (although the two screens
you run a program, you may
be on the Program I/O are similar). The Program I/O screen is used only to display output or
screen. to prompt the user for input. You cannot perform calculations on this
screen.
PROGRAM.DOC TI-89:Programming (US English) Joan Terrell Revised: 07/29/98 1:26 PM Printed: 07/29/98 1:30 PM Page 267 of 40
Starting a Program Editor Session
Each time you start the Program Editor, you can resume the
current program or function (that was displayed the last time
you used the Program Editor), open an existing program or
function, or start a new program or function.
PROGRAM.DOC TI-89:Programming (US English) Joan Terrell Revised: 07/29/98 1:26 PM Printed: 07/29/98 1:30 PM Page 268 of 40
Resuming the You can leave the Program Editor and go to another application at
Current Program any time. To return to the program or function that was displayed
when you left the Program Editor, press O 7 and select 1:Current.
Starting a New To leave the current program or function and start a new one:
Program from the 1. Press ƒ and select 3:New.
Program Editor
2. Specify the type, folder, and
variable for the new program or
function.
3. Press ¸ twice.
Opening a Previous You can open a previously created program or function at any time.
Program 1. From within the Program Editor, press ƒ and select 1:Open.
— or —
From another application, press O 7 and select 2:Open.
Note: By default, Variable 2. Select the applicable type,
shows the first existing folder, and variable.
program or function in
alphabetical order. 3. Press ¸.
Copying a Program In some cases, you may want to copy a program or function so that
you can edit the copy while retaining the original.
1. Display the program or function you want to copy.
2. Press ƒ and select 2:Save Copy As.
3. Specify the folder and variable for the copy.
4. Press ¸ twice.
Note about Because all Program Editor sessions are saved automatically, you
Deleting a Program can accumulate quite a few previous programs and functions, which
take up memory storage space.
To delete programs and functions, use the VAR-LINK screen
( 2 ° ). For information about VAR-LINK, refer to Chapter 21.
PROGRAM.DOC TI-89:Programming (US English) Joan Terrell Revised: 07/29/98 1:26 PM Printed: 07/29/98 1:30 PM Page 269 of 40
Overview of Entering a Program
Entering and Editing On a blank template, you can begin entering commands for your new
Program Lines program.
Entering Multi- To enter more than one command on the same line, separate them
Command Lines with a colon by pressing 2 Ë.
Entering Comments A comment symbol (¦ ) lets you enter a remark in a program. When
you run the program, all characters to the right of ¦ are ignored.
:prog1()
:Prgm
Tip: Use comments to enter Description of the :¦ Displays sum of 1 thru n
information that is useful to program. :Request "Enter an integer",n
someone reading the Description of expr. :expr(n)! n:¦ Convert to numeric expression
program code. :------
PROGRAM.DOC TI-89:Programming (US English) Joan Terrell Revised: 07/29/98 1:26 PM Printed: 07/29/98 1:30 PM Page 270 of 40
Controlling the Flow When you run a program, the program lines are executed in
of a Program sequential order. However, some commands alter the program flow.
For example:
Tip: For information, refer to ¦ Control structures such as If...EndIf commands use a conditional
pages 283 and 285. test to decide which part of a program to execute.
¦ Loops commands such as For...EndFor repeat a group of
commands.
Using Indentation For more complex programs that :If x>5 Then
use If...EndIf and loop structures : Disp "x is > 5"
such as For...EndFor, you can make :Else
: Disp "x is < or = 5"
the programs easier to read and
:EndIf
understand by using indentation.
Displaying In a program, calculated results are not displayed unless you use an
Calculated Results output command. This is an important difference between
performing a calculation on the Home screen and in a program.
Tip: For a list of available Output commands such as Disp will :Disp 12ù 6
output commands, refer to display a result in a program. :Disp cos(p/4)
page 290. :Disp solve(x^2ì xì 2=0,x)
PROGRAM.DOC TI-89:Programming (US English) Joan Terrell Revised: 07/29/98 1:26 PM Printed: 07/29/98 1:30 PM Page 271 of 40
Example of Passing The following program draws a circle on the Graph screen and then
Values to a Program draws a horizontal line across the top of the circle. Three values
must be passed to the program: x and y coordinates for the circle’s
center and the radius r.
¦ When you write the program in the Program Editor:
Note: In this example, you In the ( ) beside the program :circ(x,y,r)
cannot use circle as the name, specify the variables :Prgm Only circ( ) is
program name because it
conflicts with a command that will be used to store the :FnOff initially displayed
name. passed values. :ZoomStd on the blank
:ZoomSqr template; be sure
Notice that the program also to edit this line.
:Circle x,y,r
contains commands that set :LineHorz y+r
up the Graph screen. :EndPrgm
Before drawing the circle, the program turns off any selected
Y= Editor functions, displays a standard viewing window, and
“squares” the window.
PROGRAM.DOC TI-89:Programming (US English) Joan Terrell Revised: 07/29/98 1:26 PM Printed: 07/29/98 1:30 PM Page 272 of 40
Overview of Entering a Function
Why Create a User- Functions (as well as programs) are ideal for repetitive calculations
Defined Function? or tasks. You only need to write the function once. Then you can
reuse it as many times as necessary. Functions, however, have some
advantages over programs.
Note: You can create a ¦ You can create functions that expand on the TI-89’s built-in
function from the Home functions. You can then use the new functions the same as any
screen (see Chapter 5), but
the Program Editor is more other function.
convenient for complex,
multi-line functions.
¦ Functions return values that can be graphed or entered in a table;
programs cannot.
¦ You can use a function (but not a program) within an expression.
For example: 3ù func1(3) is valid, but not 3ù prog1(3).
¦ Because you pass arguments to a function, you can write generic
functions that are not tied to specific variable names.
PROGRAM.DOC TI-89:Programming (US English) Joan Terrell Revised: 07/29/98 1:26 PM Printed: 07/29/98 1:30 PM Page 273 of 40
Entering a Function When you create a new function in the Program Editor, the TI-89
displays a blank “template”.
How to Return a There are two ways to return a value from a function:
Value from a ¦ As the last line in the function :cube(x)
Function (before EndFunc), calculate the :Func
value to be returned. :x^3
:EndFunc
x
Example of a The following function returns the xth root of a value y ( y ). Two
Function values must be passed to the function: x and y.
Function as defined in
Function as called from the Home Screen the Program Editor
3!x:125!y
Note: Because x and y in
the function are local, they
are not affected by any 4ù xroot(3,125) 20 :xroot(x,y)
existing x or y variable. :Func
:y^(1/x)
5
:EndFunc
PROGRAM.DOC TI-89:Programming (US English) Joan Terrell Revised: 07/29/98 1:26 PM Printed: 07/29/98 1:30 PM Page 274 of 40
Calling One Program from Another
Calling a Separate To call a separate program, use the same syntax used to run the
Program program from the Home screen.
:subtest1() :subtest2(x,y)
:Prgm :Prgm
:For i,1,4,1 : Disp x,y
: subtest2(i,iù 1000) :EndPrgm
:EndFor
:EndPrgm
Calling an Internal To define an internal subroutine, use the Define command with
Subroutine Prgm...EndPrgm. Because a subroutine must be defined before it can
be called, it is a good practice to define subroutines at the beginning
of the main program.
An internal subroutine is called and executed in the same way as a
separate program.
Notes about Using At the end of a subroutine, execution returns to the calling program.
Subroutines To exit a subroutine at any other time, use the Return command.
A subroutine cannot access local variables declared in the calling
program. Likewise, the calling program cannot access local variables
declared in a subroutine.
Lbl commands are local to the programs in which they are located.
Therefore, a Goto command in the calling program cannot branch to
a label in a subroutine or vice versa.
PROGRAM.DOC TI-89:Programming (US English) Joan Terrell Revised: 07/29/98 1:26 PM Printed: 07/29/98 1:30 PM Page 275 of 40
Using Variables in a Program
Programs use variables in the same general way that you use
them from the Home screen. However, the “scope” of the
variables affects how they are stored and accessed.
PROGRAM.DOC TI-89:Programming (US English) Joan Terrell Revised: 07/29/98 1:26 PM Printed: 07/29/98 1:30 PM Page 276 of 40
Circular Definition When evaluating a user-defined function or running a program, you
Errors can specify an argument that includes the same variable that was
used to define the function or create the program. However, to avoid
Circular definition errors, you must assign a value for x or i variables
that are used in evaluating the function or running the program.
For example:
x+1!x
Causes a Circular definition error message if x
– or – or i does not have a value. The error does not
For i,i,10,1 occur if x or i has already been assigned a value.
Disp i
EndFor
PROGRAM.DOC TI-89:Programming (US English) Joan Terrell Revised: 07/29/98 1:26 PM Printed: 07/29/98 1:30 PM Page 277 of 40
Using Local Variables in Functions or Programs
Example of a Local The following program segment shows a For...EndFor loop (which is
Variable discussed later in this chapter). The variable i is the loop counter. In
most cases, the variable i is used only while the program is running.
What Causes an An Undefined variable error message displays when you evaluate a
Undefined Variable user-defined function or run a user-defined program that references
Error Message? a local variable that is not initialized (assigned a value).
This example is a multi-statement function, rather than a program.
Line breaks are shown here, but you would type the text in the entry
line as one continuous line, such as: Define fact(n)=Func:Local…
where the ellipsis indicates the entry line text continues off-screen.
For example:
Define fact(n)=Func:
Local m: Local variable m is not assigned an
While n>1: initial value.
nùm!m: nì1!n:
EndWhile:
Return m:
EndFunc
In the example above, the local variable m exists independently of
any variable m that exists outside of the function.
You Must Initialize All local variables must be assigned an initial value before they are
Local Variables referenced.
Define fact(n)=Func:
Local m: 1!m: 1 is stored as the initial value for m.
While n>1:
nùm!m: nì1!n:
EndWhile:
Return m:
EndFunc
The TI-89 cannot use a local variable to perform symbolic
calculations.
PROGRAM.DOC TI-89:Programming (US English) Joan Terrell Revised: 07/29/98 1:26 PM Printed: 07/29/98 1:30 PM Page 278 of 40
To Perform If you want a function or program to perform symbolic calculations,
Symbolic you must use a global variable instead of a local. However, you must
Calculations be certain that the global variable does not already exist outside of
the program. The following methods can help.
¦ Refer to a global variable name, typically with two or more
characters, that is not likely to exist outside of the function or
program.
Include DelVar within the function or program to delete the global
variable, if it exists, before referring to it. (DelVar does not delete
locked or archived variables.)
PROGRAM.DOC TI-89:Programming (US English) Joan Terrell Revised: 07/29/98 1:26 PM Printed: 07/29/98 1:30 PM Page 279 of 40
String Operations
Strings are used to enter and display text characters. You can
type a string directly, or you can store a string to a variable.
PROGRAM.DOC TI-89:Programming (US English) Joan Terrell Revised: 07/29/98 1:26 PM Printed: 07/29/98 1:30 PM Page 280 of 40
String Commands Command Description
Note: See Appendix A for
syntax for all TI-89
# Converts a string into a variable name. This is called
commands and functions. indirection.
& Appends (concatenates) two strings into one string.
char Returns the character that corresponds to a
specified character code. This is the opposite of the
ord command.
dim Returns the number of characters in a string.
expr Converts a string into an expression and executes
that expression. This is the opposite of the string
command.
Important: Some user input commands store the
entered value as a string. Before you can perform a
mathematical operation on that value, you must
convert it to a numeric expression.
format Returns an expression as a character string based
on the format template (fixed, scientific,
engineering, etc.)
inString Searches a string to see if it contains a specified
substring. If so, inString returns the character
position where the first occurrence of the substring
begins.
left Returns a specified number of characters from the
left side (beginning) of a string.
mid Returns a specified number of characters from any
position within a string.
ord Returns the character code of the first character
within a string. This is the opposite of the char
command.
right Returns a specified number of characters from the
right side (end) of a string.
rotate Rotates the characters in a string. The default is L1
(rotate right one character).
shift Shifts the characters in a string and replaces them
with spaces. The default is L1 (shift right one
character and replace with one space). Examples:
shift("abcde",2)⇒"cde " and shift("abcde")⇒" abcd"
PROGRAM.DOC TI-89:Programming (US English) Joan Terrell Revised: 07/29/98 1:26 PM Printed: 07/29/98 1:30 PM Page 281 of 40
Conditional Tests
Relational Tests Relational operators let you define a conditional test that compares
two values. The values can be numbers, expressions, lists, or
matrices (but they must match in type and dimension).
Boolean Tests Boolean operators let you combine the results of two separate tests.
The Not Function The not function changes the result of a test from true to false and
vice versa. For example:
not x>2 is true if x2
false if x>2
Note: If you use not from the Home screen, it is shown as ~ in the
history area. For example, not x>2 is shown as ~(x>2).
PROGRAM.DOC TI-89:Programming (US English) Joan Terrell Revised: 07/29/98 1:26 PM Printed: 07/29/98 1:30 PM Page 282 of 40
Using If, Lbl, and Goto to Control Program Flow
PROGRAM.DOC TI-89:Programming (US English) Joan Terrell Revised: 07/29/98 1:26 PM Printed: 07/29/98 1:30 PM Page 283 of 40
If...Then...Else... To execute one group of commands if a conditional test is true and a
EndIf Structures different group if the condition is false, use this structure:
If...Then...ElseIf... A more complex form of the If command lets you test a series of
EndIf Structures conditions. Suppose your program prompts the user for a number
that corresponds to one of four options. To test for each option
(If Choice=1, If Choice = 2, etc.), use the If...Then...ElseIf...EndIf
structure.
Refer to Appendix A for more information and an example.
Lbl and Goto You can also control the flow of your program by using Lbl (label)
Commands and Goto commands.
Use the Lbl command to label (assign a name to) a particular
location in the program.
Lbl labelName
You can then use the Goto command at any point in the program to
branch to the location that corresponds to the specified label.
Goto labelName
:If x>5
If x>5, branches directly to : Goto GT5
label GT5. :Disp x
:--------
For this example, the program :--------
must include commands (such :Lbl GT5
as Stop) that prevent Lbl GT5
from being executed if x5. :Disp "The number was > 5”
PROGRAM.DOC TI-89:Programming (US English) Joan Terrell Revised: 07/29/98 1:26 PM Printed: 07/29/98 1:30 PM Page 284 of 40
Using Loops to Repeat a Group of Commands
For...EndFor Loops A For...EndFor loop uses a counter to control the number of times
the loop is repeated. The syntax of the For command is:
For(variable, begin, end [, increment])
added to the counter each subsequent time
Note: The ending value can For is executed (If this optional value is
be less than the beginning omitted, the increment is 1.)
value, but the increment exits the loop when variable exceeds this value
must be negative.
counter value used the first time For is executed
variable used as a counter
At the end of the loop (EndFor), program control jumps back to the
For command, where variable is incremented and compared to end.
PROGRAM.DOC TI-89:Programming (US English) Joan Terrell Revised: 07/29/98 1:26 PM Printed: 07/29/98 1:30 PM Page 285 of 40
For example:
Tip: You can declare the :For i,0,5,1
counter variable as local
Displays 0, 1, 2, 3, 4, and 5. : Disp i
(pages 276 and 278) if it
does not need to be saved :EndFor
after the program stops. Displays 6. When variable :Disp i
increments to 6, the loop
is not executed.
PROGRAM.DOC TI-89:Programming (US English) Joan Terrell Revised: 07/29/98 1:26 PM Printed: 07/29/98 1:30 PM Page 286 of 40
Loop...EndLoop A Loop...EndLoop creates an infinite loop, which is repeated
Loops endlessly. The Loop command does not have any arguments.
:Loop
: --------
: --------
:EndLoop
:--------
Typically, the loop contains commands that let the program exit
from the loop. Commonly used commands are: If, Exit, Goto, and
Lbl (label). For example:
:0! x
:Loop
: Disp x
: x+1! x
An If command checks : If x>5
the condition. : Exit
Note: The Exit command
:EndLoop
exits from the current loop.
Exits the loop and jumps to :Disp x
here when x increments to 6.
Repeating a Loop The Cycle command immediately transfers program control to the
Immediately next iteration of a loop (before the current iteration is complete).
This command works with For...EndFor, While...EndWhile, and
Loop...EndLoop.
Lbl and Goto Although the Lbl (label) and Goto commands are not strictly loop
Loops commands, they can be used to create an infinite loop. For example:
:Lbl START
: --------
: --------
:Goto START
:--------
PROGRAM.DOC TI-89:Programming (US English) Joan Terrell Revised: 07/29/98 1:26 PM Printed: 07/29/98 1:30 PM Page 287 of 40
Configuring the TI-89
PROGRAM.DOC TI-89:Programming (US English) Joan Terrell Revised: 07/29/98 1:26 PM Printed: 07/29/98 1:30 PM Page 288 of 40
Getting Input from the User and Displaying Output
PROGRAM.DOC TI-89:Programming (US English) Joan Terrell Revised: 07/29/98 1:26 PM Printed: 07/29/98 1:30 PM Page 289 of 40
Output Commands Command Description
ClrZO Clears the Program I/O screen.
Note: In a program, simply Disp Displays an expression or string on the Program I/O
performing a calculation screen. Disp can also display the current contents of
does not display the result.
You must use an output
the Program I/O screen without displaying
command. additional information.
DispG Displays the current contents of the Graph screen.
DispHome Displays the current contents of the Home screen.
DispTbl Displays the current contents of the Table screen.
Output Displays an expression or string starting at specified
coordinates on the Program I/O screen.
Format Formats the way in which numeric information is
displayed.
Tip: After Disp and Output, Pause Suspends program execution until the user presses
the program immediately ¸. Optionally, you can display an expression
continues. You may want to
add a Pause command.
during the pause. A pause lets users read your
output and decide when they are ready to continue.
Text Displays a dialog box that contains a specified
character string.
PROGRAM.DOC TI-89:Programming (US English) Joan Terrell Revised: 07/29/98 1:26 PM Printed: 07/29/98 1:30 PM Page 290 of 40
Creating a Custom Menu
The TI-89’s custom menu feature lets you create your own
toolbar menu. A custom menu can contain any available
function, instruction, or set of characters. The TI-89 has a
default custom menu that you can modify or redefine.
Turning the Custom When you create a custom menu, you can let the user turn it on and
Menu On and Off off manually, or you can let a program turn it on and off
automatically.
To: Do this:
Note: When the custom Turn on the From the Home screen or any other application:
menu is turned on, it custom menu
replaces the normal toolbar ¦ Press 2 ¾.
menu. Unless a different
custom menu has been From the Home screen or a program:
created, the default custom
menu is displayed. ¦ Execute the CustmOn command.
Turn off the From any application:
custom menu
¦ Press 2 ¾ again.
— or —
¦ Go to a different application.
Using the default custom menu on the Home
screen:
1. Select 2 ‰ Tools.
Then select 3:CustmOff.
This pastes CustmOff in
the entry line. CustmOff
2. Press ¸.
You can also use CustmOff in a program.
Defining a Custom To create a custom menu, use the following general structure.
Menu :Custom
: Title title of F1 menu
Note: When the user : Item item 1
selects a menu item, the
text defined by that Item : Item item 2
command is pasted to the : øøø
current cursor location. : Title title of F2 menu
: øøø
: Title title of F3 menu
: øøø
:EndCustm
PROGRAM.DOC TI-89:Programming (US English) Joan Terrell Revised: 07/29/98 1:26 PM Printed: 07/29/98 1:30 PM Page 291 of 40
Note: The following may be For example:
slightly different than the
default custom menu on :Custom
your calculator. :Title "Vars"
:Item "L1":Item "M1":Item "Prgm1":Item "Func1":Item "Data1"
:Item "Text1":Item "Pic1":Item "GDB1":Item "Str1"
:Title "f(x)"
:Item "f(x)":Item "g(x)":Item "f(x,y)":Item "g(x,y)"
:Item "f(x+h)":Item "Define f(x) ="
:Title "Solve"
:Item "Solve(":Item " and ":Item "{x,y}"
:Item "Solve( and ,{x,y})"
:Title "Units"
:Item "_m/_s^2":Item "_ft/_s^2":Item "_m":Item "_ft":Item "_l"
:Item "_gal":Item "_\o\C":Item "_\o\F":Item "_kph":Item "_mph"
:Title "Symbols"
:Item "#":Item "\beta\":Item "?":Item "~":Item "&"
Note: See how "_\o\C" and
:Title "Internat'l"
"_\o\F" display as ¡C and ¡F
in the menu. Similarly, see :Item "\e`\":Item "\e'\":Item "\e^\":Item "\a`\"
the international accented :Item "\u`\":Item "\u^\":Item "\o^\":Item "\c,\":Item "\u..\"
characters. :Title "Tools"
:Item "ClrHome":Item "NewProb":Item "CustmOff"
:EndCustm
:CustmOn
Note: This inserts all the To modify the default custom menu, use 3:Restore custom default
commands on a single line. (as described below) to get the commands for the default menu.
You do not need to split
them into separate lines. Copy those commands, use the Program Editor to create a new
program, and paste them into the blank program. Then modify the
commands as necessary.
You can create and use only one custom menu at a time. If you need
more, write a separate program for each custom menu. Then run the
program for the menu you need.
PROGRAM.DOC TI-89:Programming (US English) Joan Terrell Revised: 07/29/98 1:26 PM Printed: 07/29/98 1:30 PM Page 292 of 40
Creating a Table or Graph
PROGRAM.DOC TI-89:Programming (US English) Joan Terrell Revised: 07/29/98 1:26 PM Printed: 07/29/98 1:30 PM Page 293 of 40
Graph Picture and Command Description
Database AndPic Displays the Graph screen and superimposes a
Commands stored graph picture by using AND logic.
CyclePic Animates a series of stored graph pictures.
Note: For information about
graph pictures and NewPic Creates a graph picture variable based on a matrix.
databases, also refer to
Chapter 12. RclGDB Restores all settings stored in a graph database.
RclPic Displays the Graph screen and superimposes a
stored graph picture by using OR logic.
RplcPic Clears the Graph screen and displays a stored graph
picture.
StoGDB Stores the current graph settings to a graph
database variable.
StoPic Copies the Graph screen (or a specified rectangular
portion) to a graph picture variable.
XorPic Displays the Graph screen and superimposes a
stored graph picture by using XOR logic.
PROGRAM.DOC TI-89:Programming (US English) Joan Terrell Revised: 07/29/98 1:26 PM Printed: 07/29/98 1:30 PM Page 294 of 40
Drawing on the Graph Screen
Pixel vs. Point When drawing an object, you can use either of two coordinate
Coordinates systems to specify a location on the screen.
¦ Pixel coordinates — Refer to the pixels that physically make up
the screen. These are independent of the viewing window
because the screen is always 160 (0 to 159) pixels wide and 100
(0 to 99) pixels tall.
¦ Point coordinates — Refer to the coordinates in effect for the
current viewing window (as defined in the Window Editor).
Note: Pixel commands start Many drawing commands have two forms: one for pixel coordinates
with Pxl, such as PxlChg. and one for point coordinates.
PROGRAM.DOC TI-89:Programming (US English) Joan Terrell Revised: 07/29/98 1:26 PM Printed: 07/29/98 1:30 PM Page 295 of 40
Drawing Lines and Command Description
Circles Circle or Draws, erases, or inverts a circle with a specified
PxlCrcl center and radius.
DrawSlp Draws a line with a specified slope through a
specified point.
Line or Draws, erases, or inverts a line between two sets of
PxlLine coordinates.
LineHorz or Draws, erases, or inverts a horizontal line at a
PxlHorz specified row coordinate.
LineTan Draws a tangent line for a specified expression at a
specified point. (This draws the tangent line only,
not the expression.)
LineVert or Draws, erases, or inverts a vertical line at a
PxlVert specified column coordinate.
PROGRAM.DOC TI-89:Programming (US English) Joan Terrell Revised: 07/29/98 1:26 PM Printed: 07/29/98 1:30 PM Page 296 of 40
Accessing Another TI-89, a CBLé, or a CBRé
Accessing Another When two TI-89s are linked, one acts as a receiving unit and the other
TI-89 as a sending unit.
Command Description
GetCalc Executed on the receiving unit. Sets up the unit to
receive a variable via the I/O port.
Note: For a sample program ¦ After the receiving unit executes GetCalc, the
that synchronizes the
receiving and sending units sending unit must execute SendCalc.
so that GetCalc and
SendCalc are executed in ¦ After the sending unit executes SendCalc, the
the proper sequence, refer sent variable is stored on the receiving unit (in
to “Transmitting Variables the variable name specified by GetCalc).
under Program Control” in
Chapter 22. SendCalc Executed on the sending unit. Sends a variable to
the receiving unit via the I/O port.
¦ Before the sending unit executes SendCalc, the
receiving unit must execute GetCalc.
SendChat Executed on the sending unit as a general
alternative to SendCalc. Useful if the receiving unit
is a TI-92 (or for a generic "chat" program that
allows either a TI-92 or TI-92 Plus to be used).
Accessing a CBL or For additional information, refer to the manual that comes with the
CBR CBL or CBR unit.
Note: Before using the CBR
with the TI-89, you need to Command Description
obtain a separate CBR Get Gets a variable from an attached CBL or CBR and
program for the TI-89, which
is available from the TI web
stores it in the TI-89.
site at: http://www.ti.com/ Send Sends a list variable from the TI-89 to the CBL or
calc/docs/89.htm
CBR.
PROGRAM.DOC TI-89:Programming (US English) Joan Terrell Revised: 07/29/98 1:26 PM Printed: 07/29/98 1:30 PM Page 297 of 40
Debugging Programs and Handling Errors
Run-Time Errors The first step in debugging your program is to run it. The TI-89
automatically checks each executed command for syntax errors. If
there is an error, a message indicates the nature of the error.
¦ To display the program in the
Program Editor, press ¸.
The cursor appears in the
approximate area of the error.
¦ To cancel program execution and return to the Home screen,
press N.
If your program allows the user to select from several options, be
sure to run the program and test each option.
Debugging Run-time error messages can locate syntax errors but not errors in
Techniques program logic. The following techniques may be useful.
¦ During testing, do not use local variables so that you can check
the variable values after the program stops. When the program is
debugged, declare the applicable variables as local.
¦ Within a program, temporarily insert Disp and Pause commands
to display the values of critical variables.
− Disp and Pause cannot be used in a user-defined function. To
temporarily change the function into a program, change Func
and EndFunc to Prgm and EndPrgm. Use Disp and Pause to
debug the program. Then remove Disp and Pause and change
the program back into a function.
¦ To confirm that a loop is executed the correct number of times,
display the counter variable or the values in the conditional test.
¦ To confirm that a subroutine is executed, display messages such
as "Entering subroutine" and "Exiting subroutine" at the beginning and
end of the subroutine.
PROGRAM.DOC TI-89:Programming (US English) Joan Terrell Revised: 07/29/98 1:26 PM Printed: 07/29/98 1:30 PM Page 298 of 40
Example: Using Alternative Approaches
Example 1 This example is the program given in the preview at the beginning of
the chapter. Refer to the preview for detailed information.
:prog1()
Prompts for input :Prgm
in a dialog box.
:Request "Enter an integer",n
Converts string entered :expr(n)! n
with Request to an :0! temp
expression.
:For i,1,n,1
Loop calculation. : temp+i! temp
:EndFor
Displays output on :Disp temp
Program I/O screen. :EndPrgm
Example 3 This example uses Prompt for input, Lbl and Goto to create a loop,
and Disp to display the result.
:prog3()
:Prgm
Note: Because Prompt Prompts for input on :Prompt n
returns n as a number, you Program I/O screen. :0! temp:1! i
do not need to use expr to :Lbl top
convert n. : temp+i! temp
Loop calculation. : i+1! i
Tip: For , type <=. : If in
: Goto top
Displays output on :Disp temp
Program I/O screen. :EndPrgm
PROGRAM.DOC TI-89:Programming (US English) Joan Terrell Revised: 07/29/98 1:26 PM Printed: 07/29/98 1:30 PM Page 299 of 40
Example 4 This example uses Dialog...EndDlog to create dialog boxes for input
and output. It uses Loop...EndLoop to calculate the result.
:prog4()
:Prgm
:Dialog
Defines a dialog box : Title "Enter an integer"
for input. : Request "Integer",n
:EndDlog
Converts string entered :expr(n)! n
with Request to an :0! temp:0! i
expression.
:Loop
: temp+i! temp
: i+1! i
Loop calculation.
: If i>n
: Exit
:EndLoop
:Dialog
Defines a dialog : Title "The answer is"
box for output. : Text string(temp)
:EndDlog
:EndPrgm
Example 5 This example uses the TI-89’s built-in functions to calculate the result
without using a loop.
:prog5()
Prompts for input on :Prgm
Program I/O screen.
Note: Because Input :Input "Enter an integer",n
returns n as a number, you Calculates sum. :sum(seq(i,i,1,n))! temp
do not need to use expr to :Disp temp
convert n. Displays output on
Program I/O screen. :EndPrgm
PROGRAM.DOC TI-89:Programming (US English) Joan Terrell Revised: 07/29/98 1:26 PM Printed: 07/29/98 1:30 PM Page 300 of 40
Assembly-Language Programs
PROGRAM.DOC TI-89:Programming (US English) Joan Terrell Revised: 07/29/98 1:26 PM Printed: 07/29/98 1:30 PM Page 301 of 40
Shortcuts to Run a On the Home screen, you can use keyboard shortcuts to run up to
Program nine user-defined or assembly-language programs. However, the
programs must have the following names.
You Cannot Edit an You cannot use your TI-89 to edit an assembly-language program.
Assembly-Language The built-in Program Editor will not open assembly-language
Program programs.
For Information The information required to teach a novice programmer how to write
about Writing an an assembly-language program is beyond the scope of this book.
Assembly-Language However, if you have a working knowledge of assembly language,
Program please check the TI web site (listed previously in this section) for
specific information about how to access TI-89 features.
Note: You must use a The TI-89 also includes an Exec command that executes a string
computer to write assembly- consisting of a series of Motorola 68000 op-codes. These codes act as
language programs. You
cannot create assembly- another form of an assembly-language program. Check the TI web site
language programs from the for available information.
TI-89 keyboard.
PROGRAM.DOC TI-89:Programming (US English) Joan Terrell Revised: 07/29/98 1:26 PM Printed: 07/29/98 1:30 PM Page 302 of 40
Chapter 18:
Text Editor
Preview of Text Operations ................................................................. 304
Starting a Text Editor Session ............................................................. 305
This chapter shows you how to use the Text Editor to enter and
edit text. Entering text is simple; just begin typing. To edit text,
you can use the same techniques that you use to edit information
on the Home screen.
Each time you start a new text session, you must specify the
name of a text variable. After you begin a session, any text that
you type is stored automatically in the associated text variable.
You do not need to save a session manually before leaving the
Text Editor.
TXTEDITR.DOC TI-89: Text Editor (US English) Joan Terrell Revised: 08/03/98 1:08 PM Printed: 08/03/98 2:34 PM Page 303 of 14
Preview of Text Operations
Start a new Text Editor session. Then practice using the Text Editor by typing whatever
text you want. As you type, practice moving the text cursor and correcting any typos you
may enter.
TXTEDITR.DOC TI-89: Text Editor (US English) Joan Terrell Revised: 07/29/98 1:15 PM Printed: 07/29/98 1:15 PM Page 304 of 14
Starting a Text Editor Session
Each time you start the Text Editor, you can start a new text
session, resume the current session (the session that was
displayed the last time you used the Text Editor), or open a
previous session.
Item Description
Type Automatically set as Text and cannot be changed.
Folder Shows the folder in which the text variable will be
stored. For information about folders, refer to
Chapter 5.
To use a different folder, press B to display a menu
of existing folders. Then select a folder.
Variable Type a variable name.
If you specify a variable that already exists, an error
message will be displayed when you press ¸.
When you press N or ¸ to acknowledge the
error, the NEW dialog box is redisplayed.
You can now use the Text Editor as described in the remaining
sections of this chapter.
TXTEDITR.DOC TI-89: Text Editor (US English) Joan Terrell Revised: 07/29/98 1:15 PM Printed: 07/29/98 1:15 PM Page 305 of 14
Resuming the You can leave the Text Editor and go to another application at any
Current Session time. To return to the session that was displayed when you left the
Text Editor, press O 8 and select 1:Current.
Opening a Previous You can open a previous Text Editor session at any time.
Session 1. From within the Text Editor, press ƒ and select 1:Open.
— or —
From any application, press O 8 and select 2:Open.
Note: By default, Variable 2. Select the applicable folder
shows the first existing text and text variable.
variable in alphabetic order.
3. Press ¸.
Copying a Session In some cases, you may want to copy a session so that you can edit
the copy while retaining the original.
1. Display the session you want to copy.
2. Press ƒ and select 2:Save Copy As.
3. Specify the folder and text variable for the copied session.
4. Press ¸ twice.
Note about Because all Text Editor sessions are saved automatically, you can
Deleting a Session accumulate quite a few previous sessions, which take up memory
storage space.
To delete a session, use the VAR-LINK screen ( 2 ° ) to
delete that session’s text variable. For information about VAR-LINK,
refer to Chapter 21.
TXTEDITR.DOC TI-89: Text Editor (US English) Joan Terrell Revised: 07/29/98 1:15 PM Printed: 07/29/98 1:15 PM Page 306 of 14
Entering and Editing Text
After beginning a Text Editor session, you can enter and edit
text. In general, use the same techniques that you have
already used to enter and edit information on the Home
screen’s entry line.
Typing Text When you create a new Text Editor session, you see an empty
screen. When you open a previous session or return to the current
session, you see the existing text for that session.
The beginning
Tip: Press 2 C or 2 D space is used in
to scroll up or down one command scripts
screen at a time, and ¥ C and lab reports.
or ¥ D to go to the top or
bottom of the text session.
Blinking text cursor
Tip: If you have an optional You do not need to press ¸ at the end of each line. At the end of
TI-GRAPH LINK, you can a line, the next character you type wraps to the next line. Press
use a computer keyboard to
type lengthy text and then ¸ only when you want to start a new paragraph.
send it to the TI-89. Refer to
As you reach the bottom of the screen, previous lines scroll off the
page 310.
top of the screen.
TXTEDITR.DOC TI-89: Text Editor (US English) Joan Terrell Revised: 07/29/98 1:15 PM Printed: 07/29/98 1:15 PM Page 307 of 14
Deleting Characters To delete: Press:
The character to the left of the cursor 0 or ƒ 7
The character to the right of the cursor ¥ 8 (same as ¥ 0)
Note: If there are no All characters to the right of the cursor M
characters to the right of the through the end of the paragraph
cursor, M erases the
entire paragraph. All characters in the paragraph (regardless MM
of the cursor’s position in that paragraph)
Cutting, Copying, Cutting and copying both place highlighted text into the TI-89’s
and Pasting Text clipboard. Cutting deletes the text from its current location (used to
move text) and copying leaves the text.
1. Highlight the text you want to move or copy.
Tip: You can press ¥ 5, 2. Press ƒ.
¥ 6, and ¥ 7 to
cut, copy, and paste without 3. Select the applicable menu item.
having to use the ƒ toolbar
menu. ¦ To move the text, select 4:Cut.
— or —
¦ To copy the text, select 5:Copy.
4. Move the text cursor to the location where you want to insert the
text.
5. Press ƒ and then select 6:Paste.
TXTEDITR.DOC TI-89: Text Editor (US English) Joan Terrell Revised: 07/29/98 1:15 PM Printed: 07/29/98 1:15 PM Page 308 of 14
You can use this general procedure to cut , copy, and paste text:
¦ Within the same text session.
¦ From one text session to another. After cutting or copying text in
one session, open the other session and then paste the text.
¦ From a text session to a different application. For example, you
can paste the text into the Home screen’s entry line.
Inserting or By default, the TI-89 is in insert mode. To toggle between insert and
Overtyping a overtype mode, press 2 /.
Character
If the TI-89 is in: The next character you type:
Tip: Look at the shape of Will be inserted at the cursor.
the cursor to see if you’re in
Thin cursor between
insert or overtype mode. characters
Clearing the Text To erase all existing paragraphs and display an empty text screen,
Editor press ƒ and then select 8:Clear Editor.
TXTEDITR.DOC TI-89: Text Editor (US English) Joan Terrell Revised: 07/29/98 1:15 PM Printed: 07/29/98 1:15 PM Page 309 of 14
Using a Computer If you have an optional TI-GRAPH LINK computer-to-calculator cable
and TI-GRAPH LINK and software for the TI-89, you can use the computer keyboard to
to Enter Text type a text file and then send that file to the TI-89. This is useful if
you need to create a lengthy text file.
For information about obtaining a TI-GRAPH LINK cable and software
or upgrading your existing TI-GRAPH LINK software for use with the
TI-89, check the TI web site at:
http://www.ti.com/calc
or contact Texas Instruments as described in Appendix C.
For complete instructions on how to create a text file on a computer
and send it to your calculator, refer to the manual that comes with
the TI-GRAPH LINK. The general steps are:
1. Use the TI-GRAPH LINK software to create a new text file.
a. In the software, select New from the File menu. Then select a
TI-89 Data File and click OK. An untitled edit window is
displayed.
Note: On the TI-89, the b. In the Name box at the top of the edit window, type the name
name of the text variable will you want to use for the text variable on the TI-89. Then type
be the name you enter in
Step 1b, not the file name in the applicable text.
Step 1c.
c. From the File menu, select Save As. In the dialog box, type a
File Name, select TI89 Text as the File Type, select a directory,
and click OK.
2. Use the TI-GRAPH LINK software to send the file from the
computer to the TI-89.
a. Use the TI-GRAPH LINK cable to connect the computer and
the calculator.
b. Be sure the TI-89 is on the Home screen.
c. In the software, select Send from the Link menu. Select the
text file and click Add to add it to the Files Selected list. Then
click OK.
d. When notified that the sending process is complete, click OK.
3. On the TI-89, use the Text Editor to open the text variable.
TXTEDITR.DOC TI-89: Text Editor (US English) Joan Terrell Revised: 07/29/98 1:15 PM Printed: 07/29/98 1:15 PM Page 310 of 14
Entering Special Characters
You can use the CHAR menu to select any special character
from a list. You can also type certain commonly used
characters from the keyboard. To see which characters are
available from the keyboard, you can display a map that
shows the characters and their corresponding keys.
Selecting 1. Press 2 ¿.
Characters from the 2. Select the applicable category.
CHAR Menu
A menu lists the characters in
that category.
3. Select a character. You may ï indicates that
need to scroll through the you can scroll.
menu.
For accented characters, select
International. Commonly used
international characters are also
available from the default custom
menu (2 ¾).
Displaying the The keyboard map shows shortcuts that let you enter certain special
Keyboard Map characters and Greek letters from the keyboard. It also shows
shortcuts for other calculator features.
Press ¥ ^ to display the map.
To access these shortcuts, first
press the ¥ key.
The shortcuts for the other
features shown on the map are:
¦ FMT ( ¥ Í ) — Displays the FORMATS dialog box.
TXTEDITR.DOC TI-89: Text Editor (US English) Joan Terrell Revised: 07/29/98 1:15 PM Printed: 07/29/98 1:15 PM Page 311 of 14
Typing Special Press ¥ and then the key for the
Symbols from the symbol.
Keyboard For example:
¥ Á displays ƒ.
These special symbols are not
affected by whether alpha-lock is Note: To help you find the
on or off. applicable keys, this map shows
only the special symbols.
If: Then:
Alpha-lock is off. ¥ c j X or ¥ c X displays ξ.
¥ c j W displays ω.
j is not required ¥ c ¤ W displays Ω.
for X, Y, Z, or T.
¤ is used for
uppercase letters.
Important: If you press Lowercase alpha-lock ¥ c X displays ξ.
j to access a Greek ( 2 ™ ) is on. ¥ c W displays ω.
letter while alpha-lock is on,
it turns alpha-lock off. ¥ c ¤ W displays Ω.
Uppercase ALPHA-LOCK ¥ c X displays ξ.
( ¤ ™ ) is on. ¥ c W displays Ω.
¥ c ¤ W displays Ω.
For a List of All For a list of all special characters, refer to Appendix B.
Special Characters
TXTEDITR.DOC TI-89: Text Editor (US English) Joan Terrell Revised: 07/29/98 1:15 PM Printed: 07/29/98 1:15 PM Page 312 of 14
Entering and Executing a Command Script
Deleting a This deletes only the “C” mark; it does not delete the command text
Command Mark itself.
1. Place the cursor anywhere on the marked line.
2. Press „ and select 4:Clear command.
Executing a To execute a command, you must first mark the line with a “C”. If
Command you execute a line that is not marked with “C”, it will be ignored.
1. Place the cursor anywhere on the command line.
2. Press †.
Tip: To examine the result The command is copied to the entry line on the Home screen and
on the Home screen, press executed. The Home screen is displayed temporarily during
" or use a split screen.
execution, and then the Text Editor is redisplayed.
After execution, the cursor moves to the next line in the script so
that you can continue to execute a series of commands.
TXTEDITR.DOC TI-89: Text Editor (US English) Joan Terrell Revised: 07/29/98 1:15 PM Printed: 07/29/98 1:15 PM Page 313 of 14
Splitting the With a split screen, you can view your command script and see the
Text Editor/ result of an executed command at the same time.
Home Screen
To: Press:
Split the screen … and select
1:Script view.
Creating a Script From the Home screen, you can save all the entries in the history
from Your Home area to a text variable. The entries are automatically saved in a script
Screen Entries format so that you can open the text variable in the Text Editor and
execute the entries as commands.
For information, refer to “Saving the Home Screen Entries as a Text
Editor Script” in Chapter 5.
TXTEDITR.DOC TI-89: Text Editor (US English) Joan Terrell Revised: 07/29/98 1:15 PM Printed: 07/29/98 1:15 PM Page 314 of 14
Creating a Lab Report
Print Objects In the Text Editor, you can specify a variable name as a print object.
When you print the report by using the TI-GRAPH LINK, the TI-89
substitutes the contents of the variable (an expression, picture, list,
etc.) in place of the variable name.
Inserting a Page When you print a lab report, page breaks occur automatically at the
Break Mark bottom of each printed page. However, you can manually force a
page break at any line.
1. Place the cursor on the line that you want to print on the top of
the next page. (The line can be blank or you can enter text on it.)
2. Press „ and select 2:Page break.
A “Î ” is displayed at the beginning of the line (to the left of the
colon).
Deleting a Print This deletes only the “P” or “Î ” mark; it does not delete any text that
Object or Page is on the line.
Break Mark 1. Place the cursor anywhere on the marked line.
2. Press „ and select 4:Clear command.
TXTEDITR.DOC TI-89: Text Editor (US English) Joan Terrell Revised: 07/29/98 1:15 PM Printed: 07/29/98 1:15 PM Page 315 of 14
Printing the Report General Steps For Detailed Information
1. Connect the TI-89 to your Refer to the manual that came
computer via the TI-GRAPH with your TI-GRAPH LINK.
LINK cable.
2. Use the TI-GRAPH LINK
software to get the lab
report from the calculator,
and then print the report.
.1*x^3ì.5*x+3
The three parts were:
TXTEDITR.DOC TI-89: Text Editor (US English) Joan Terrell Revised: 07/29/98 1:15 PM Printed: 07/29/98 1:15 PM Page 316 of 14
Chapter 19:
Numeric Solver
Preview of the Numeric Solver............................................................ 318
SOLVER.DOC TI-89: Numeric Solver (US English) Joan Terrell Revised: 08/03/98 1:08 PM Printed: 08/03/98 2:35 PM Page 317 of 10
Preview of the Numeric Solver
Consider the equation a=(m2ì m1)/(m2+m1)ù g, where the known values are m2=10 and
g=9.8. If you assume that a=1/3 g, find the value of m1.
SOLVER.DOC TI-89: Numeric Solver (US English) Joan Terrell Revised: 07/29/98 1:32 PM Printed: 07/29/98 1:32 PM Page 318 of 10
Displaying the Solver and Entering an Equation
Note: After you press Recall a previously Refer to the applicable heading later in this
¸, the current equation entered equation or section.
is stored automatically to the
system variable eqn. open a saved
equation.
SOLVER.DOC TI-89: Numeric Solver (US English) Joan Terrell Revised: 07/29/98 1:32 PM Printed: 07/29/98 1:32 PM Page 319 of 10
Recalling Previously Your most recently entered equations (up to 11 with the default
Entered Equations setting) are retained in memory. To recall one of these equations:
1. From the Numeric Solver
screen, press ‡.
A dialog box displays the most
recently entered equation.
Tip: You can specify how 2. Select an equation.
many equations are
retained. From the Numeric ¦ To select the displayed
Solver, press ƒ and select equation, press ¸.
9:Format (or use ¥ Í ).
Then select a number from ¦ To select a different
1 through 11. equation, press B to display
a list. Then select the one Only unique equations are
listed. If you re-enter the
you want. same equation 5 times, it
appears only once.
3. Press ¸.
Saving Equations Because the number of equations that you can recall with ‡ Eqns is
for Future Use limited, a particular equation may not be retained indefinitely.
To store the current equation for future
use, save it to a variable.
1. From the Numeric Solver screen,
press ƒ and select 2:Save Copy As.
Note: An equation variable 2. Specify a folder and a variable
has an EXPR data type, as name for the equation.
shown on the MEMORY and
VAR-LINK screens. 3. Press ¸ twice.
SOLVER.DOC TI-89: Numeric Solver (US English) Joan Terrell Revised: 07/29/98 1:32 PM Printed: 07/29/98 1:32 PM Page 320 of 10
Defining the Known Variables
SOLVER.DOC TI-89: Numeric Solver (US English) Joan Terrell Revised: 07/29/98 1:32 PM Printed: 07/29/98 1:32 PM Page 321 of 10
Note: You cannot solve for ¦ If the equation contains a
a system variable other than system variable (xmin, xmax,
exp. Also, if the equation
contains a system variable, etc.), that variable is not
you cannot use … to graph. listed. The solver uses the
system variable’s existing In the standard viewing window,
value. xmax=10.
Editing the Equation In the Numeric Solver, press C until the cursor is on the equation.
The screen automatically changes to show only the eqn: line. Make
your changes, and then press ¸ or D to return to the list of
variables.
SOLVER.DOC TI-89: Numeric Solver (US English) Joan Terrell Revised: 07/29/98 1:32 PM Printed: 07/29/98 1:32 PM Page 322 of 10
Solving for the Unknown Variable
If you: Do this:
Want to solve for other Edit the equation or variable values.
values
Want to find a different Enter an initial guess and/or a new set of
solution for an equation bounds close to the other solution.
with multiple solutions
Note: An iterative process is See the message: Press N. The unknown variable shows
used to solve an equation. If the value being tested when the error
the iterative process cannot
converge on a solution, this occurred.
error occurs.
¦ The leftì rt value may be small enough
for you to accept the result.
¦ If not, enter a different set of bounds.
SOLVER.DOC TI-89: Numeric Solver (US English) Joan Terrell Revised: 07/29/98 1:32 PM Printed: 07/29/98 1:32 PM Page 323 of 10
Graphing the Solution
You can explore the graph by using the free-moving cursor, tracing,
zooming, etc., as described in Chapter 6.
How the Graph When you use the Numeric Solver to display a graph:
Affects Various ¦ The following modes are changed automatically to these settings:
Settings
Mode Setting
Note: If you were previously Graph FUNCTION Any functions selected
using different mode in the Y= Editor will not
Split Screen LEFT-RIGHT be graphed.
settings, you will need to
reselect those settings Number of Graphs 1
manually.
¦ All stat plots are deselected.
¦ After you leave the Numeric Solver, the Graph screen may
continue to display the equation’s solution, ignoring any selected
Y= functions. If so, display the Y= Editor and then return to the
Graph screen. Also, the graph is reset when you change the Graph
mode or use ClrGraph from the Home screen ( † 5) or a program.
SOLVER.DOC TI-89: Numeric Solver (US English) Joan Terrell Revised: 07/29/98 1:32 PM Printed: 07/29/98 1:32 PM Page 324 of 10
Selecting a New To use the graph cursor to select an initial guess:
Initial Guess from 1. Move the cursor (either free-moving or trace) to the point that
the Graph you want to use as the new guess.
2. Use 2 a to make the
Numeric Solver screen
active.
3. Make sure the cursor is on
Note: Cursor coordinate xc the unknown variable, and
is the unknown variable press †.
value, and yc is the leftì rt
value. 4. Press „ to re-solve the † sets the graph cursor’s xc value
equation. as an initial guess and the yc value
as leftìrt. The graph’s xmin and
xmax values are set as the bounds.
Clearing Variables When you solve an equation, its variables still exist after you leave
Before Leaving the the Numeric Solver. If the equation contains single-character
Numeric Solver variables, their values may inadvertently affect later symbolic
calculations. Before leaving the Numeric Solver, you may want to:
Tip: Use 2 ˆ any time 1. Press 2 ˆ Clr a–z to clear all single-character variables in the
you want to clear single- current folder.
character variables listed in
the solver. 2. Press ¸ to confirm the action.
The screen returns to the solver’s eqn: line.
SOLVER.DOC TI-89: Numeric Solver (US English) Joan Terrell Revised: 07/29/98 1:32 PM Printed: 07/29/98 1:32 PM Page 325 of 10
326 Chapter 19: Numeric Solver
SOLVER.DOC TI-89: Numeric Solver (US English) Joan Terrell Revised: 07/29/98 1:32 PM Printed: 07/29/98 1:32 PM Page 326 of 10
Chapter 20:
Number Bases
Preview of Number Bases .................................................................... 328
You can use the TI-89 to convert a number from one base to
another. For example, 100 binary = 4 decimal and A8F hex = 2703
decimal.
Hexadecimal numbers are often used as a shorthand notation for
longer, hard-to-remember binary numbers. For example:
1010 1111 0011 0111
AF37 hexadecimal is usually easier to work
with than 1010111100110111 binary.
A F 3 7
BASE.DOC TI-89: Number Bases (US English) Joan Terrell Revised: 08/03/98 1:02 PM Printed: 08/03/98 2:36 PM Page 327 of 6
Preview of Number Bases
Calculate 10 binary (base 2) + F hexadecimal (base 16) + 10 decimal (base 10). Then,
use the 4 operator to convert an integer from one base to another. Finally, see how
changing the Base mode affects the displayed results.
BASE.DOC TI-89: Number Bases (US English) Joan Terrell Revised: 07/29/98 1:34 PM Printed: 07/29/98 1:34 PM Page 328 of 6
Entering and Converting Number Bases
Note: You can type the b or To enter a hexadecimal number, use the form:
h in the prefix, as well as
hex characters A – F, in 0h hexadecimalNumber (for example: 0h89F2C)
uppercase or lowercase. Hexadecimal number with up to 8 digits
Zero, not the letter O, and the letter h
Alternate Method for Instead of using 4, you can: If Base mode = BIN:
BASE.DOC TI-89: Number Bases (US English) Joan Terrell Revised: 07/29/98 1:34 PM Printed: 07/29/98 1:34 PM Page 329 of 6
Performing Math Operations with Hex or Bin Numbers
For any operation that uses an integer number, you can enter
a hexadecimal or binary number. Results are displayed
according to the Base mode. However, results are restricted to
certain size limits when Base = HEX or BIN.
0hFFFFFFFF 0h1
ë1 1
BASE.DOC TI-89: Number Bases (US English) Joan Terrell Revised: 07/29/98 1:34 PM Printed: 07/29/98 1:34 PM Page 330 of 6
Comparing or Manipulating Bits
BASE.DOC TI-89: Number Bases (US English) Joan Terrell Revised: 07/29/98 1:34 PM Printed: 07/29/98 1:34 PM Page 331 of 6
Rotating and Function with syntax Description
Shifting Bits rotate(integer) If #ofRotations is:
– or –
¦ omitted — bits rotate once to the
rotate(integer,#ofRotations)
right (default is ë 1).
¦ negative — bits rotate the specified
Note: You can select these number of times to the right.
functions from the
MATH/Base menu. For an ¦ positive — bits rotate the specified
example using each number of times to the left.
function, refer to Appendix A
in this book. In a right rotation, the rightmost bit
rotates to the leftmost bit; vice versa for
a left rotation.
shift(integer) If #ofShifts is:
– or –
¦ omitted — bits shift once to the right
shift(integer,#ofShifts)
(default is ë 1).
¦ negative — bits shift the specified
number of times to the right.
¦ positive — bits shift the specified
number of times to the left.
In a right shift, the rightmost bit is
dropped and 0 or 1 is inserted to match
the leftmost bit. In a left shift, the
leftmost bit is dropped and 0 is inserted
as the rightmost bit.
shift(0h7AC36)
Internally, the hexadecimal
integer is converted to a signed,
32-bit binary number. If Base mode = BIN:
BASE.DOC TI-89: Number Bases (US English) Joan Terrell Revised: 07/29/98 1:34 PM Printed: 07/29/98 1:34 PM Page 332 of 6
Chapter 21:
Memory and Variable Management
Preview of Memory and Variable Management................................. 334
Checking and Resetting Memory ........................................................ 337
You can
archive and
TI-89 User Data
RAM Archive
unarchive
a variable.
MEMORY.DOC TI-89:Memory & Variables Mgmt (US English) Joan Terrell Revised: 08/03/98 1:09 PM Printed: 08/03/98 2:36 PM Page 333 of 16
Preview of Memory and Variable Management
Assign values to a variety of variable data types. Use the VAR-LINK screen to view a list of
the defined variables. Then move a variable to the user data archive memory and explore
the ways in which you can and cannot access an archived variable. (Archived variables
are locked automatically.) Finally, unarchive the variable and delete the unused variables
so that they will not take up memory.
MEMORY.DOC TI-89:Memory & Variables Mgmt (US English) Joan Terrell Revised: 07/29/98 1:18 PM Printed: 07/29/98 1:18 PM Page 334 of 16
Steps Keystrokes Display
Archiving a variable:
û indicates the
variable is
archived.
MEMORY.DOC TI-89:Memory & Variables Mgmt (US English) Joan Terrell Revised: 07/29/98 1:18 PM Printed: 07/29/98 1:18 PM Page 335 of 16
Steps Keystrokes Display
Deleting variables:
MEMORY.DOC TI-89:Memory & Variables Mgmt (US English) Joan Terrell Revised: 07/29/98 1:18 PM Printed: 07/29/98 1:18 PM Page 336 of 16
Checking and Resetting Memory
Item Description
Note: Selecting 1:All resets All Deletes all user-defined variables and folders,
the display contrast to its including variables in the user data archive; resets all
factory setting. To adjust the
contrast, use ¥ « and
system variables and modes to their original factory
¥ |. settings.
MEMORY.DOC TI-89:Memory & Variables Mgmt (US English) Joan Terrell Revised: 07/29/98 1:18 PM Printed: 07/29/98 1:18 PM Page 337 of 16
Displaying the VAR-LINK Screen
The VAR-LINK screen lists the variables and folders that are
currently defined. After displaying the screen, you can
manipulate the variables and/or folders as described later in
this chapter.
Displaying the Press 2 °. By default, the VAR-LINK screen lists all user-
VAR-LINK Screen defined variables in all folders and with all data types.
… Link lets you transmit
variables between units
and update the product
code in your TI-89.
Folder names Refer to Chapter 22.
Note: For information about (alphabetically
using folders, refer to listed)
Chapter 5.
6 indicates
you can scroll
for more Size in bytes
variables
and/or folders. Data type
Variable names (listed
alphabetically within each folder)
If selected with †, shows Ÿ.
If locked, shows Œ.
If archived, shows û.
MEMORY.DOC TI-89:Memory & Variables Mgmt (US English) Joan Terrell Revised: 07/29/98 1:18 PM Printed: 07/29/98 1:18 PM Page 338 of 16
Listing Only a If you have a lot of variables and/or folders, it may be difficult to
Specified Folder locate a particular variable. By changing VAR-LINK’s view, you can
and/or Variable Type specify the information you want to see.
From the VAR-LINK screen:
1. Press „ View.
2. Highlight the setting you want to
change, and press B. This
displays a menu of valid
choices.
Closing the To close the VAR-LINK screen and return to the current application,
VAR-LINK Screen use ¸ or N as described below.
Press: To:
Tip: For more information ¸ Paste the highlighted variable or folder name to the cursor
on using the ¸ paste location in the current application.
feature, refer to page 342.
N Return to the current application without pasting the
highlighted name.
MEMORY.DOC TI-89:Memory & Variables Mgmt (US English) Joan Terrell Revised: 07/29/98 1:18 PM Printed: 07/29/98 1:18 PM Page 339 of 16
Manipulating Variables and Folders with VAR-LINK
Showing the You can show all variable types except ASM, DATA, FIG, GDB, or
Contents of a MAC. For example, you must open a DATA variable in the
Variable Data/Matrix Editor.
1. On VAR-LINK, move the cursor to highlight the variable.
Note: You cannot edit the 2. Press 2 ˆ Contents.
contents from this screen.
If you highlight a folder, the
screen shows the number of
variables in that folder.
3. To return to VAR-LINK, press
any key.
Selecting Items For other operations, select one or more variables and/or folders.
from the List
To select: Do this:
A single variable Move the cursor to highlight the item.
or folder
Note: If you use † to Ÿ one A group of variables Highlight each item and press †. A Ÿ is
or more items and then or folders displayed to the left of each selected item.
highlight a different item, the
following operations affect (If you select a folder, all variables in that
only the Ÿ’ed items. folder are selected.) Use † to select or
deselect an item.
All folders and Press ‡ All and select 1:Select All.
all variables
Selects the last set of
items transmitted to your
unit during the current
VAR-LINK session. Refer
to Chapter 22.
Deleting Variables To delete a folder, you must delete all of the variables in that folder.
or Folders However, you cannot delete the MAIN folder even if it is empty.
1. On VAR-LINK, select the
Tip: When you use † to variables and/or folders.
select a folder, its variables
are selected automatically 2. Press ƒ Manage and select
so that you can delete the 1:Delete. (You can press
folder and its variables at 0 instead of ƒ 1.)
the same time.
3. To confirm the deletion,
press ¸.
MEMORY.DOC TI-89:Memory & Variables Mgmt (US English) Joan Terrell Revised: 07/29/98 1:18 PM Printed: 07/29/98 1:18 PM Page 340 of 16
Creating a New For information about using folders, refer to Chapter 5.
Folder 1. On VAR-LINK, press ƒ Manage and select 5:Create Folder.
2. Type a unique name, and
press ¸ twice.
Copying or Moving You must have at least one folder other than MAIN. You cannot use
Variables from One VAR-LINK to copy variables within the same folder.
Folder to Another 1. On VAR-LINK, select the variables.
2. Press ƒ Manage and select 2:Copy or 4:Move.
Tip: To copy a variable to a 3. Select the destination folder.
different name in the same
folder, use § (such as 4. Press ¸.
a1! a2) or the CopyVar
command from the Home The copied or moved
screen. variables retain their
original names.
Renaming Variables Remember, if you use † to select a folder, the variables in that
or Folders folder are selected automatically. As necessary, use † to deselect
individual variables.
1. On VAR-LINK, select the variables and/or folders.
2. Press ƒ Manage and select 3:Rename.
3. Type a unique name, and
press ¸ twice.
If you selected multiple items,
you are prompted to enter a
new name for each one.
Locking or When a variable is locked, you cannot delete, rename, or store to it.
Unlocking Variables However, you can copy, move, or display its contents. When a folder
or Folders is locked, you can manipulate the variables in the folder (assuming
the variables are not locked), but you cannot delete the folder.
1. On VAR-LINK, select the variables and/or folders.
2. Press ƒ Manage and select 6:Lock Variable or 7:UnLock Variable.
MEMORY.DOC TI-89:Memory & Variables Mgmt (US English) Joan Terrell Revised: 07/29/98 1:18 PM Printed: 07/29/98 1:18 PM Page 341 of 16
Pasting a Variable Name to an Application
Which Applications From the following applications, you can paste a variable name to
Can You Use? the current cursor location.
¦ Home screen, Y= Editor, Table Editor, or Data/Matrix Editor —
The cursor must be on the entry line.
¦ Text Editor, Window Editor, Numeric Solver, or Program Editor
— The cursor can be anywhere on the screen.
If you paste a variable name that is not in the current folder, the
variable’s pathname is pasted.
sin(class\a2|
MEMORY.DOC TI-89:Memory & Variables Mgmt (US English) Joan Terrell Revised: 07/29/98 1:18 PM Printed: 07/29/98 1:18 PM Page 342 of 16
Archiving and Unarchiving a Variable
Note: If there is not enough For an: Sizes must be such that:
space, unarchive or delete
variables as necessary. Archive Archive free size > variable size
MEMORY.DOC TI-89:Memory & Variables Mgmt (US English) Joan Terrell Revised: 07/29/98 1:18 PM Printed: 07/29/98 1:18 PM Page 343 of 16
From the VAR-LINK To archive or unarchive:
Screen 1. Press 2 ° to display the VAR-LINK screen.
Tip: To select a single 2. Select one or more variables, which can be in different folders.
variable, highlight it. To (You can select an entire folder by selecting the folder name.)
select multiple variables,
highlight each variable and 3. Press ƒ and select either:
press † Ÿ.
8:Archive Variable
– or –
9:Unarchive Variable
Note: An archived variable You can access an archived RAM User Data Archive
is locked automatically. You variable just as you would any CLASS a2
can access the variable, but û pic1
you cannot edit or delete it. locked variable. For all purposes, MAIN
Refer to page 347. an archived variable is still in its f
l1
original folder; it is simply stored m1
in the user data archive instead of û
prog1
RAM. s1
text1
From the Home Use the Archive and Unarchiv commands (Appendix A).
Screen or a Program Archive variable1, variable2, …
MEMORY.DOC TI-89:Memory & Variables Mgmt (US English) Joan Terrell Revised: 07/29/98 1:18 PM Printed: 07/29/98 1:18 PM Page 344 of 16
If a Garbage Collection Message Is Displayed
If you use the user data archive extensively, you may see a
Garbage Collection message. This occurs if you try to archive
a variable when there is not enough free archive memory.
However, the TI-89 will attempt to rearrange the archived
variables to make additional room.
Why Is Garbage The user data archive is divided into sectors. When you first begin
Collection archiving, variables are stored consecutively in sector 1. This
Necessary? continues to the end of the sector. If there is not enough space left in
the sector, the next variable is stored at the beginning of the next
sector. Typically, this leaves an empty block at the end of the
previous sector.
Note: An archived variable Each variable that you archive is variable A Sector 1
is stored in a continuous stored in the first empty block large
block within a single sector;
it cannot cross a sector enough to hold it. variable B
Empty
boundary. block
Sector 2
variable D variable C
MEMORY.DOC TI-89:Memory & Variables Mgmt (US English) Joan Terrell Revised: 07/29/98 1:18 PM Printed: 07/29/98 1:18 PM Page 345 of 16
How Unarchiving a When you unarchive a variable, it is variable A
Sector 1
Variable Affects the copied to RAM but is not actually
Process deleted from the user data archive
memory.
After you unarchive Sector 2
variables B and C, they
continue to take up space.
variable D
Unarchived variables are “marked for
deletion,” meaning they will be Sector 3
deleted during the next garbage
collection.
If the Archive free amount shows enough available space for your
variable, however, there probably will be enough space to archive it
after garbage collection (depending on the usability of any empty
blocks).
MEMORY.DOC TI-89:Memory & Variables Mgmt (US English) Joan Terrell Revised: 07/29/98 1:18 PM Printed: 07/29/98 1:18 PM Page 346 of 16
Memory Error When Accessing an Archived Variable
What Causes the The Memory Error message is displayed if there is not enough free
Memory Error? RAM to access the archived variable. This may cause you to ask, “If
the variable is in the user data archive, why does it matter how much
RAM is available?” The answer is that the following operations can
be performed only if a variable is in RAM.
Note: As described below, a ¦ Opening a text variable in the Text Editor.
temporary copy lets you
open or execute an archived ¦ Opening a data variable, list, or matrix in the Data/Matrix Editor.
variable. However, you
cannot save any changes to ¦ Opening a program or function in the Program Editor.
the variable.
¦ Running a program or referring to a function.
So that you don’t have to unarchive variables unnecessarily, the
TI-89 performs a “behind-the scenes” copy. For example, if you run a
program that is in the user data archive, the TI-89:
Note: Except for programs 1. Copies the program to RAM.
and functions, referring to
an archived variable does 2. Runs the program.
not copy it. If variable ab is
archived, it is not copied if 3. Deletes the copy from RAM when the program is finished.
you perform 6ù ab.
The error message is displayed if there is not enough free RAM for
the temporary copy.
MEMORY.DOC TI-89:Memory & Variables Mgmt (US English) Joan Terrell Revised: 07/29/98 1:18 PM Printed: 07/29/98 1:18 PM Page 347 of 16
348 Chapter 21: Memory and Variable Management
MEMORY.DOC TI-89:Memory & Variables Mgmt (US English) Joan Terrell Revised: 07/29/98 1:18 PM Printed: 07/29/98 1:18 PM Page 348 of 16
Chapter 22:
Linking and Upgrading
Transmitting Variables between Two Units....................................... 350
Transmitting Variables under Program Control ................................ 353
This chapter describes how you can use the VAR-LINK screen to
transfer variables from one TI-89 to another or to a TI-92 or
TI-92 Plus.
Note: Remember that
variables include programs,
The VAR-LINK screen
functions, graph figures, etc. displays a list of defined
variables and folders. For
information about using
folders, refer to Chapter 5.
You can use the Flash technology built into your TI-89 to upgrade
the calculator’s product code.
You will need: http://www.ti.com/calc
¦ Either a PC or Macintosh
computer with an Internet
connection.
¦ An optional TI-GRAPH LINKé
cable (available separately).
This is not the same as the
cable that comes with your via TI-GRAPH LINK
calculator. cable
LINK.DOC TI-89: Linking and Upgrading (US English) Joan Terrell Revised: 08/03/98 1:09 PM Printed: 08/03/98 2:37 PM Page 349 of 13
Transmitting Variables between Two Units
Linking Two Your TI-89 comes with a cable that lets you link two units. Using firm
Units pressure, insert one end of the cable into the I/O port of each unit.
TI-89 TI-89
Cable
I/O Port I/O Port
Either unit can send or receive, depending on how you set them up
from the VAR-LINK screen.
LINK.DOC TI-89: Linking and Upgrading (US English) Joan Terrell Revised: 07/29/98 1:20 PM Printed: 07/29/98 1:21 PM Page 350 of 12
Note: Depending on This starts the transmission.
transmission speed and
variable sizes, messages in ¦ During transmission, messages are displayed in the status line of
the status line may be both units to show the name of each transmitted item.
displayed only briefly.
¦ When transmission is complete, the VAR-LINK screen is updated
on the receiving unit.
LINK.DOC TI-89: Linking and Upgrading (US English) Joan Terrell Revised: 07/29/98 1:20 PM Printed: 07/29/98 1:21 PM Page 351 of 12
Common Error and Shown on: Message and Description
Notification Sending unit
Messages
Note: The sending unit may This is displayed after several seconds if:
not always display this
message. Instead, it may ¦ A cable is not attached to the sending unit’s I/O
remain BUSY until you port.
cancel the transmission. — or —
¦ A receiving unit is not attached to the other end of
the cable.
— or —
¦ The receiving unit is not set up to receive.
Press N or ¸ to cancel the transmission.
Receiving
unit
LINK.DOC TI-89: Linking and Upgrading (US English) Joan Terrell Revised: 07/29/98 1:20 PM Printed: 07/29/98 1:21 PM Page 352 of 12
Transmitting Variables under Program Control
Overview of SendCalc sends a variable to the link port, where a linked calculator
Commands can receive the variable value. The linked calculator must be on the
Home screen or must execute GetCalc from a program. If you send to
a TI-92, however, an error occurs if the TI-92 executes GetCalc from
a program. In this case, you must use SendChat instead.
SendChat, a general alternative to SendCalc, is useful if the receiving
calculator is a TI-92 (or for a generic chat program that allows a
TI-89, TI-92, or TI-92 Plus to be the receiving calculator). SendChat
sends a variable only if that variable is compatible with the TI-92,
which is typically true in chat programs. However, SendChat will not
send an archived variable, a TI-89 or TI-92 Plus graph data base, etc.
The “Chat” Program The following program uses GetCalc and SendChat. The program
sets up two loops that let the linked calculators take turns sending
and receiving/displaying a variable named msg. InputStr lets each
user enter a message in the msg variable.
:Chat()
:Prgm
:ClrIO
:Disp "On first unit to send,"," enter 1;","On first to receive,"
:InputStr " enter 0",msg
:If msg="0" Then
Sets up this unit to : While true
receive and display : GetCalc msg
the variable msg. : Disp msg Loop executed by the unit that
: InputStr msg receives the first message.
Then lets this user
enter a message in : SendChat msg
msg and send it. : EndWhile
:Else
Lets this user enter : While true
a message in msg : InputStr msg
and send it. : SendChat msg Loop executed by the unit that
: GetCalc msg sends the first message.
Then sets up this : Disp msg
unit to receive and
display msg. : EndWhile
:EndIf
:EndPrgm
LINK.DOC TI-89: Linking and Upgrading (US English) Joan Terrell Revised: 07/29/98 1:20 PM Printed: 07/29/98 1:21 PM Page 353 of 12
Running the This procedure assumes that:
Program ¦ The two calculators are linked with the connecting cable as
described on page 350.
¦ The Chat program is loaded on both calculators. (A program
loaded on a TI-92 must use SendCalc instead of SendChat.)
Note: For information about − Use each calculator’ s Program Editor to enter the program.
using the Program Editor, — or —
refer to Chapter 17.
− Enter the program on one calculator and then use VAR-LINK to
transmit the program variable to the other calculator as
described on page 350.
On the: Type:
Calculator that will send 1 and press ¸.
the first message
Stopping the Because the Chat program sets up an infinite loop on both
Program calculators, press ´ (on both calculators) to break the program. If
you press N to acknowledge the error message, the program stops
on the Program I/O screen. Press ‡ or N to return to the Home
screen.
LINK.DOC TI-89: Linking and Upgrading (US English) Joan Terrell Revised: 07/29/98 1:20 PM Printed: 07/29/98 1:21 PM Page 354 of 12
Compatibility between a TI-89, TI-92, and TI-92 Plus
Main Types of All data is compatible between a TI-89 and TI-92 Plus, but some
Incompatibilities programs written for one may not run the same on the other because
of differences in the calculators’ screen sizes and keyboards. Also,
the TI-89 does not have built-in Geometry as does the TI-92 Plus.
Geometry figures and macros can be transferred to a TI-89, but they
cannot be used.
Compared to a TI-92, the TI-89 and TI-92 Plus:
¦ Have functions, instructions, and system variables that do not
exist on the TI-92.
¦ Can use the same variable to define and then evaluate a user-
defined function or program. For example, you can define a
function in terms of x and then evaluate that function using an
expression containing x. This causes a Circular definition error on
the TI-92. Refer to Chapter 17: Programming for more
information.
¦ Manage local variables differently than the TI-92. Refer to
Chapter 17: Programming for more information.
Text versus When you create a function or program in the Program Editor, it
Tokenized exists in text form until you run it. Then it is converted automatically
to a tokenized form.
¦ Data in text form can always be shared between a TI-89, TI-92,
and TI-92 Plus. However, the function or program may not give
the same results when run on a different calculator.
Note: If you use the ¦ Data in tokenized form contains information that describes
Program Editor to edit a included functionality. The TI-89 and TI-92 Plus use the same
function or program that is in
tokenized form, it returns to tokenized forms, but the TI-92 is different.
text form until the next time
− If you attempt to send a tokenized function, program, or other
you run it.
data type from a TI-89 or TI-92 Plus to a TI-92, the TI-89 or
TI-92 Plus automatically checks to be sure the functionality is
acceptable for the TI-92. If not, the data is not sent. This is for
your protection because the tokenized data could cause the
TI-92 to lock up if the data is sent with invalid functionality.
− Even if the tokenized data is sent, this does not guarantee that
the data will give the same results on the other calculator.
LINK.DOC TI-89: Linking and Upgrading (US English) Joan Terrell Revised: 07/29/98 1:20 PM Printed: 07/29/98 1:21 PM Page 355 of 12
TI-92 to All user-defined variables, including functions and programs, can be
TI-89 or sent from a TI-92 to a TI-89 or TI-92 Plus. However, they may behave
TI-92 Plus differently. Examples are:
¦ Conflicts between TI-89 and TI-92 Plus system variable, function,
and instruction names and TI-92 user-defined names.
¦ Programs or functions that use symbolic local variables. On a
TI-89 and TI-92 Plus, a local variable must be initialized with a
value before it can be referenced (meaning that a local variable
cannot be used symbolically), or you must use a global variable
instead. This includes programs that evaluate strings as local
variables that are symbolic, such as expr().
TI-89 or TI-92 Plus Any functionality that exists on a TI-89 or TI-92 Plus and NOT on a
to TI-92 TI-92 will NOT run as expected on a TI-92. In some cases (text
form), the data will transfer but may give an error when run on the
TI-92. In other cases (tokenized form), the data may not be sent to
the TI-92.
If the data contains only functionality available on a TI-92, it can
probably be sent to and run on a TI-92 with the same results.
Exceptions include:
¦ Graph databases (GDBs) will not be sent because the TI-89 and
TI-92 Plus use a GDB structure that has more information than
the TI-92 GDB.
¦ A function or program defined in terms of a variable such as x
and then evaluated using some expression containing that same
variable will run on a TI-89 and TI-92 Plus, but will cause a
Circular definition error on a TI-92.
LINK.DOC TI-89: Linking and Upgrading (US English) Joan Terrell Revised: 07/29/98 1:20 PM Printed: 07/29/98 1:21 PM Page 356 of 12
Upgrading Your TI-89 Product Code
Backing Up Your When you install new product code, the installation process:
Unit Before an ¦ Deletes all user-defined variables (in both RAM and the user data
Installation archive), functions, programs, and folders.
¦ Resets all system variables and modes to their original factory
settings. This is equivalent to using the MEMORY screen to reset
all memory.
Important: Before To retain any existing variables, do the following before installing
installation, turn on your the upgrade:
TI-89 and replace the
batteries if the low-battery ¦ Transmit the variables to another calculator as described on
indicator is displayed.
page 350.
– or –
¦ Use a TI-GRAPH LINKé (available separately) to send the
variables to a computer.
If you have a TI-GRAPH LINK cable and software for the TI-92, be
aware that the software is not compatible with the TI-89. The cable
works with both units. For information about obtaining a TI-GRAPH
LINK for the TI-89, check the TI web site at:
http://www.ti.com/calc/docs/link.htm
or contact Texas Instruments as described in Appendix C.
LINK.DOC TI-89: Linking and Upgrading (US English) Joan Terrell Revised: 07/29/98 1:20 PM Printed: 07/29/98 1:21 PM Page 357 of 12
Where to Get For up-to-date information about http://www.ti.com/calc
Upgrades and available upgrades and
Applications applications and how to install software product code
them, check the TI web site at: certificate
http://www.ti.com/calc
or contact Texas Instruments as
described in Appendix C.
You can download a new software
certificate and/or the new product
code from the TI web site to a
computer, and use a TI-GRAPH via TI-GRAPH LINK
LINK cable (available separately) cable
to install them on your TI-89. TI-89
If You’re Upgrading To install a purchased upgrade, each TI-89 must have its own unique
Multiple TI-89 Units certificate. During download and installation, however, you can
choose both the certificate and product code or only the certificate.
To upgrade multiple units, you can transfer product code from one
unit to another instead of installing the product code on each unit via
a computer.
Tip: Generally, transmitting From the computer, From the computer, download and
product code from unit to download and install the install only the unique certificate
unit is much quicker than certificate and product for each of the other units.
installing the product code code for one unit.
via a computer.
TI-89 TI-89 TI-89
LINK.DOC TI-89: Linking and Upgrading (US English) Joan Terrell Revised: 07/29/98 1:20 PM Printed: 07/29/98 1:21 PM Page 358 of 12
Transferring If the sending unit has: Then:
Product Code from Original TI-89 product code The receiving unit does not need a
One TI-89 to or a free maintenance new certificate. Its current
Another upgrade for that code certificate is valid, and the product
code can be transferred.
Tip: You can see which Any other type of product The product code must first be
version of product code is in code purchased for the receiving unit.
your TI-89. From the Home
screen, press ƒ and select The software certificate can then be
A:About. downloaded and installed on the
receiving unit, and the product code
can be transferred.
During the transfer, the receiving unit shows how the transfer is
progressing. When the transfer is complete:
¦ The sending unit returns to the VAR-LINK screen.
¦ The receiving unit returns to the Home screen. The display
contrast is reset to its factory setting, so you may need to use
¥ | (lighten) or ¥ « (darken) to adjust the contrast.
LINK.DOC TI-89: Linking and Upgrading (US English) Joan Terrell Revised: 07/29/98 1:20 PM Printed: 07/29/98 1:21 PM Page 359 of 12
Do Not Attempt to After the transfer starts, the receiving unit’s existing product code is
Cancel the Transfer effectively deleted. If you interrupt the transfer before it is complete,
the receiving unit will not operate properly. You will then need to
reinstall the product code via a computer.
Error Messages Most error messages are displayed on the sending unit. Depending
on when the error occurs during the transfer process, you may see
an error message on the receiving unit.
LINK.DOC TI-89: Linking and Upgrading (US English) Joan Terrell Revised: 07/29/98 1:20 PM Printed: 07/29/98 1:21 PM Page 360 of 12
Chapter 23:
Applications
App. 1: Analyzing the Pole-Corner Problem....................................... 362
App. 2: Deriving the Quadratic Formula ............................................ 364
This chapter contains applications that show how the TI-89 can
be used to solve, analyze, and visualize actual mathematical
problems.
APPS.DOC TI-89:Applications (US English) Joan Terrell Revised: 08/03/98 12:58 PM Printed: 08/03/98 2:38 PM Page 361 of 26
App. 1: Analyzing the Pole-Corner Problem
Maximum Length of The maximum length of a pole c is the shortest line segment touching
Pole in Hallway the interior corner and opposite sides of the two hallways as shown
in the diagram below.
Hint: Use proportional sides and the Pythagorean theorem to find
the length c with respect to w. Then find the zeros of the first
derivative of c(w). The minimum value of c(w) is the maximum length
of the pole.
10
a = w+5
b = 10a
w
w
a
c
5
APPS.DOC TI-89:Applications (US English) Joan Terrell Revised: 07/29/98 1:38 PM Printed: 07/29/98 1:39 PM Page 362 of 26
5. Compute the exact
maximum length of
the pole.
Enter: c ( 2 ± )
APPS.DOC TI-89:Applications (US English) Joan Terrell Revised: 07/29/98 1:38 PM Printed: 07/29/98 1:39 PM Page 363 of 26
App. 2: Deriving the Quadratic Formula
APPS.DOC TI-89:Applications (US English) Joan Terrell Revised: 07/29/98 1:38 PM Printed: 07/29/98 1:39 PM Page 364 of 26
7. Factor the result using
the factor() function.
APPS.DOC TI-89:Applications (US English) Joan Terrell Revised: 07/29/98 1:38 PM Printed: 07/29/98 1:39 PM Page 365 of 26
App. 3: Exploring a Matrix
Exploring a 3x3 Perform these steps to generate a random matrix, augment and find
Matrix the identity matrix, and then solve to find an invalid value of the
inverse.
1. On the Home screen,
use RandSeed to set
the random number
generator seed to the
factory default, and
then use randMat() to
create a random 3x3
matrix and store it in a.
2. Replace the [2,3]
element of the matrix
with the variable x,
and then use the
augment() function, to
augment the 3x3
identity to a and store
the result in b.
Tip: Use the cursor in the 3. Use rref() to “row
history area to scroll the reduce” matrix b:
result.
The result will have
the identity matrix in
the first three columns
and a^ë 1 in the last
three columns.
Tip: Use the cursor in the 4. Solve for the value of x
history area to scroll the that will cause the
result.
inverse of the matrix
to be invalid.
Enter: solve(getDenom(
2 ± [1,4] )=0,x)
Result: x=ë 70/17
APPS.DOC TI-89:Applications (US English) Joan Terrell Revised: 07/29/98 1:38 PM Printed: 07/29/98 1:39 PM Page 366 of 26
App. 4: Exploring cos(x) = sin(x)
Method 1: Perform the following steps to observe where the graphs of the
Graph Plot functions y1(x)=cos(x) and y2(x)=sin(x) intersect.
1. In the Y= Editor, set
y1(x)=cos(x) and
y2(x)=sin(x).
2. In the Window Editor,
set xmin=0 and
xmax=3p.
3. Press „ and select
A:ZoomFit.
Hint: Press ‡ and select 4. Find the intersection
5:Intersection. Respond to point of the two
the screen prompts to select
the two curves, and the functions.
lower and upper bounds for
5. Note the x and y
intersection A.
coordinates. (Repeat
steps 4 and 5 to find
the other intersections.)
Method 2: Perform the following steps to solve the equation sin(x)=cos(x) with
Symbolic respect to x.
Manipulation 1. On the Home screen,
enter solve(sin(x)=
cos(x),x).
The solution for x is
where @n1 is any
integer.
Hint: Move the cursor into 2. Using the ceiling() and
the history area to highlight floor() functions, find
the last answer. Press
¸ to copy the result of the ceiling and floor
the general solution. values for the
intersection points as
shown.
Hint: Press Í to get the 3 Enter the general
“with” operator. solution for x and
apply the constraint
for @n1 as shown.
Compare the result
with Method 1.
APPS.DOC TI-89:Applications (US English) Joan Terrell Revised: 07/29/98 1:38 PM Printed: 07/29/98 1:39 PM Page 367 of 26
App. 5: Finding Minimum Surface Area of a Parallelepiped
Exploring a 3D Perform the following steps to define a function for the surface area
Graph of the of a parallelepiped, draw a 3D graph, and use the Trace tool to find a
Surface Area of a point close to the minimum surface area.
Parallelepiped 1. On the Home screen,
define the function
sa(x,y,v) for the
surface area of a
parallelepiped.
Enter: define
sa(x,y,v)=2ù xù y+
2v/x+2v/y
2. Select the 3D Graph
mode. Then enter the
function for z1(x,y) as
shown in this example
with volume v=300.
APPS.DOC TI-89:Applications (US English) Joan Terrell Revised: 07/29/98 1:38 PM Printed: 07/29/98 1:39 PM Page 368 of 26
Finding the Perform the following steps to solve the problem analytically on the
Minimum Surface Home screen.
Area Analytically 1. Solve for x and y in
terms of v.
Enter:
solve(d(sa(x,y,v),1x)=0
and (d(sa(x,y,v),y)=0,
{x,y}
Hint: Press ¸ to obtain 2. Find the minimum
the exact result in symbolic surface area when the
form. Press ¥ ¸ to
obtain the approximate value of v equals 300.
result in decimal form.
Enter: 300! v
Enter: sa(v^(1/3),
v^(1/3),v)
APPS.DOC TI-89:Applications (US English) Joan Terrell Revised: 07/29/98 1:38 PM Printed: 07/29/98 1:39 PM Page 369 of 26
App. 6: Running a Tutorial Script Using the Text Editor
This application shows you how to use the Text Editor to run a
tutorial script. Detailed information about text operations can
be found in Chapter 18: Text Editor.
Running a Tutorial Perform the following steps to write a script using the Text Editor,
Script test each line, and observe the results in the history area on the
Home screen.
1. Open the Text Editor,
and create a new
variable named demo1.
Note: The command symbol 2. Type the following lines into the Text Editor.
“C” is accessed from the
„ 1:Command toolbar : Compute the maximum value of f on the closed interval [a,b]
menu. : assume that f is differentiable on [a,b]
C : define f(x)=x^3ì 2x^2+xì 7
C : 1! a:3.22! b
C : d(f(x),x)! df(x)
C : zeros(df(x),x)
C : f(ans(1))
C : f({a,b})
: The largest number from the previous two commands is the maximum
value of the function. The smallest number is the minimum value.
3. Press … and select 1:Script view to show the Text Editor and the
Home screen on a split-screen. Move the cursor to the first line in
the Text Editor.
APPS.DOC TI-89:Applications (US English) Joan Terrell Revised: 07/29/98 1:38 PM Printed: 07/29/98 1:39 PM Page 370 of 26
Note: Press … and select 4. Press † repeatedly to execute each line in the script one at a
2:Clear split to go back to a time.
full-sized Text Editor screen.
Tip: Press 2 K twice to 5. To see the results of the script on a full-sized screen, go to the
display the Home screen. Home screen.
APPS.DOC TI-89:Applications (US English) Joan Terrell Revised: 07/29/98 1:38 PM Printed: 07/29/98 1:39 PM Page 371 of 26
App. 7: Decomposing a Rational Function
APPS.DOC TI-89:Applications (US English) Joan Terrell Revised: 07/29/98 1:38 PM Printed: 07/29/98 1:39 PM Page 372 of 26
6. Add the original
function f(x) to y3(x)
and select the square
graphing style.
APPS.DOC TI-89:Applications (US English) Joan Terrell Revised: 07/29/98 1:38 PM Printed: 07/29/98 1:39 PM Page 373 of 26
App. 8: Studying Statistics: Filtering Data by Categories
Filtering Data by Each student is placed into one of eight categories depending on the
Categories student’s sex and academic year (freshman, sophomore, junior, or
senior). The data (weight in pounds) and respective categories are
entered in the Data/Matrix Editor.
Table 1: Category vs. Description
C1 C2 C1 C2 C1 C2 C1 C2
110 1 115 3 130 5 145 7
125 1 135 3 145 5 160 7
105 1 110 3 140 5 165 7
120 1 130 3 145 5 170 7
140 1 150 3 165 5 190 7
85 2 90 4 100 6 110 8
80 2 95 4 105 6 115 8
90 2 85 4 115 6 125 8
80 2 100 4 110 6 120 8
95 2 95 4 120 6 125 8
APPS.DOC TI-89:Applications (US English) Joan Terrell Revised: 07/29/98 1:38 PM Printed: 07/29/98 1:39 PM Page 374 of 26
Perform the following steps to compare the weight of high school
students to their year in school.
1. Start the Data/Matrix
Editor, and create a
new Data variable
named students.
APPS.DOC TI-89:Applications (US English) Joan Terrell Revised: 07/29/98 1:38 PM Printed: 07/29/98 1:39 PM Page 375 of 26
7. Press ƒ, and modify
the Include Categories
item for Plot 2 through
Plot 5 to the following:
Plot 2: {1,2}
(freshman boys, girls)
Plot 3: {7,8}
(senior boys, girls)
Plot 4: {1,3,5,7}
(all boys)
Plot 5: {2,4,6,8}
(all girls)
APPS.DOC TI-89:Applications (US English) Joan Terrell Revised: 07/29/98 1:38 PM Printed: 07/29/98 1:39 PM Page 376 of 26
App. 9: CBLé Program for the TI-89
This application provides a program that can be used when the TI-89 is connected to a
Calculator-Based Laboratoryé (CBLé) unit. This program works with the “Newton’s Law
of Cooling” experiment, and is similar to the “Coffee To Go” experiment in the CBL
System Experiment Workbook. You can use your computer keyboard to type lengthy text
and then use TI-GRAPH LINK to send it to the TI-89. More TI-89 CBL programs are
available from the TI web site at: http://www.ti.com/calc/docs/89.htm
You can also use the Calculator-Based Ranger™ (CBR™) to explore the mathematical and
scientific relationships between distance, velocity, acceleration, and time using data collected
from activities you perform. However, you will first need to obtain a separate CBR program for
the TI-89, which is available from the TI web site at: http://www.ti.com/calc/docs/89.htm
APPS.DOC TI-89:Applications (US English) Joan Terrell Revised: 07/29/98 1:38 PM Printed: 07/29/98 1:39 PM Page 377 of 26
App. 10: Studying the Flight of a Hit Baseball
Setting Up a Perform the following steps to study the flight of a hit baseball that
Parametric Graph has an initial velocity of 95 feet per second and an initial angle of 32
and Table degrees.
1. Set the modes for
Page 1 as shown in
this screen.
APPS.DOC TI-89:Applications (US English) Joan Terrell Revised: 07/29/98 1:38 PM Printed: 07/29/98 1:39 PM Page 378 of 26
5. Set the Window
variables to:
t values= [0,4,.1]
x values= [0,300,50]
y values= [0,100,10]
Optional Exercise Assuming the same initial velocity of 95 feet per second, find the
angle that the ball should be hit to achieve the greatest distance.
APPS.DOC TI-89:Applications (US English) Joan Terrell Revised: 07/29/98 1:38 PM Printed: 07/29/98 1:39 PM Page 379 of 26
App. 11: Visualizing Complex Zeros of a Cubic Polynomial
Visualizing Complex Perform the following steps to expand the cubic polynomial
Roots (xì 1)(xì i)(x+i), find the absolute value of the function, graph the
modulus surface, and use the Trace tool to explore the modulus
surface.
Note: Actual entries are 1. On the Home screen,
displayed in reverse type in use the expand()
the example screens.
function to expand the
cubic expression
(xì 1)(xì i) (x+i) and
see the first
polynomial.
Hint: Move the cursor into 2. Copy and paste the
the history area to highlight last answer to the
the last answer and press
¸, or press ¥ 6 to entry line and store it
copy and ¥ 7 to paste. in the function f(x).
Note: The absolute value of 3. Use the abs() function
a function forces any roots to find the absolute
to visually just touch rather
than cross the x axis. value of f(x+yi).
Likewise, the absolute value
(This calculation may
of a function of two variables
will force any roots to take about 2 minutes.)
visually just touch the xy
plane. 4. Copy and paste the
last answer to the
Note: The graph of z1(x,y)
will be the modulus surface. entry line and store it
in the function z1(x,y).
5. Set the unit to 3D
graph mode, turn on
the axes for graph
format, and set the
Window variables to:
eye= [20,70,0]
x= [ë 2,2,20]
y= [ë 2,2,20]
z= [ë 1,2]
ncontour= [5]
APPS.DOC TI-89:Applications (US English) Joan Terrell Revised: 07/29/98 1:38 PM Printed: 07/29/98 1:39 PM Page 380 of 26
Note: Calculating and 6. In the Y=Editor, press
drawing the graph takes ¥ Í and set the
about three minutes.
Graph Format
variables to:
Axes= ON
Labels= ON
Style= HIDDEN SURFACE
Summary Note that zc is zero for each of the function values in steps 7–9. Thus,
the complex zeros 1,ë i, i of the polynomial xò ì xñ +xì 1 can be
visualized with the three points where the graph of the modulus
surface touches the xy plane.
APPS.DOC TI-89:Applications (US English) Joan Terrell Revised: 07/29/98 1:38 PM Printed: 07/29/98 1:39 PM Page 381 of 26
App. 12: Solving a Standard Annuity Problem
Finding the Interest Perform the following steps to find the interest rate (i) of an annuity
Rate of an Annuity where the starting principal (p) is 1,000, number of compounding
periods (n) is 6, and the future value (s) is 2,000.
1. On the Home screen,
enter the equation to
solve for p.
Finding the Future Find the future value of an annuity using the values from the
Value of an Annuity previous example where the interest rate is 14%.
Enter the equation to
solve for s.
solve(s=pù (1+i)^n,s)| i=.14
and p=1000 and n=6
Result: The future value at
14% interest is 2,194.97.
APPS.DOC TI-89:Applications (US English) Joan Terrell Revised: 07/29/98 1:38 PM Printed: 07/29/98 1:39 PM Page 382 of 26
App. 13: Computing the Time-Value-of-Money
Finding the Monthly Find the monthly payment on 10,000 if you make 48 payments at 10%
Payment interest per year.
On the Home screen,
enter the tvm values to
find pmt.
Result: The monthly
payment is 251.53.
Finding the Number Find the number of payments it will take to pay off the loan if you
of Payments could make a 300 payment each month.
On the Home screen,
enter the tvm values to
find n.
Result: The number of
payments is 38.8308.
APPS.DOC TI-89:Applications (US English) Joan Terrell Revised: 07/29/98 1:38 PM Printed: 07/29/98 1:39 PM Page 383 of 26
App. 14: Finding Rational, Real, and Complex Factors
Finding Factors Enter the expressions shown below on the Home screen.
1. factor(x^3ì 5x) ¸
displays a rational
result.
2. factor(x^3+5x) ¸
displays a rational
result.
3. factor(x^3ì 5x,x) ¸
displays a real result.
4. cfactor(x^3+5x,x) ¸
displays a complex
result.
APPS.DOC TI-89:Applications (US English) Joan Terrell Revised: 07/29/98 1:38 PM Printed: 07/29/98 1:39 PM Page 384 of 26
App. 15: Simulation of Sampling without Replacement
APPS.DOC TI-89:Applications (US English) Joan Terrell Revised: 07/29/98 1:38 PM Printed: 07/29/98 1:39 PM Page 385 of 26
386 Chapter 23: Applications
APPS.DOC TI-89:Applications (US English) Joan Terrell Revised: 07/29/98 1:38 PM Printed: 07/29/98 1:39 PM Page 386 of 26
Appendix A:
TI.89 Functions and Instructions
Quick-Find Locator ............................................................................... 388
A
® Click on a character to jump to that page.
B C D E F G H
I L M N O P Q R
S T U V W X Z +
This appendix describes the syntax and the action of each TI-89 function and instruction.
Circle CATALOG
Circle x, y, r [, drawMode] In a ZoomSqr viewing window:
Draws a circle with its center at window ZoomSqr:Circle 1,2,3 ¸
coordinates (x, y) and with a radius of r.
x, y, and r must be real values.
APPX-A.DOC TI-89: Appendix A (US English) Joan Terrell Revised: 08/03/98 3:09 PM Printed: 08/03/98 3:10 PM Page 387 of 130
Quick-Find Locator
Calculus ‰() (integrate) 506 Π() (product) 507 G() (sum) 507
arcLen() 394 avgRC() 395 d() 410
deSolve() 412 fMax() 426 fMin() 426
limit() 437 nDeriv() 446 nInt() 448
' (prime) 510 seq() 470 taylor() 487
APPX-A.DOC TI-89: Appendix A (US English) Joan Terrell Revised: 07/29/98 1:45 PM Printed: 07/29/98 1:46 PM Page 388 of 128
Math + (add) 500 ì (subtract) 500 ù (multiply) 501
à (divide) 502 ë (negate) 502 % (percent) 502
! (factorial) 505 ‡() (sqr. root) 507 ^ (power) 508
¡ (degree) 509 (angle) 509 ¡, ', " 510
_ (underscore) 510 4 (convert) 511 10^() 511
0b, 0h 513 4Bin 395 4Cylind 407
4DD 410 4Dec 410 4DMS 416
4Hex 432 4Polar 456 4Rect 464
4Sphere 481 abs() 392 and 392
angle() 393 approx() 394 ceiling() 396
conj() 400 cos 401 cos() 401
cosh() 402 coshê() 402 E 419
e^() 419 exact() 421 floor() 425
fpart() 428 gcd() 428 imag() 433
int() 435 intDiv() 435 iPart() 435
isPrime() 435 lcm() 436 ln() 439
log() 441 max() 443 min() 445
mod() 445 nCr() 446 nPr() 450
P4Rx() 452 P4Ry() 452 r (radian) 509
R4Pq() 462 R4Pr() 463 real() 464
remain() 465 rotate() 466 round() 467
shift() 474 sign() 475 sin() 476
sinê() 476 sinh() 477 sinhê() 477
tan() 485 tanê() 486 tanh() 486
tanhê() 486 tmpCnv() 489 @tmpCnv() 489
xê 511
APPX-A.DOC TI-89: Appendix A (US English) Joan Terrell Revised: 07/29/98 1:45 PM Printed: 07/29/98 1:46 PM Page 389 of 128
Programming = 503 /= (not equal) 503 < 503
<= 504 > 504 >= 504
# (indirection) 508 ! (store) 512 © (comment) 513
and 392 ans() 394 Archive 394
ClrErr 398 ClrGraph 398 ClrHome 399
ClrIO 399 ClrTable 399 CopyVar 400
CustmOff 406 CustmOn 406 Custom 406
Cycle 406 Define 411 DelFold 412
DelVar 412 Dialog 415 Disp 415
DispG 416 DispHome 416 DispTbl 416
DropDown 418 Else 420 ElseIf 420
EndCustm 421 EndDlog 421 EndFor 421
EndFunc 421 EndIf 421 EndLoop 421
EndPrgm 421 EndTBar 421 EndTry 421
EndWhile 421 entry() 421 Exec 422
Exit 422 For 427 format() 427
Func 428 Get 429 GetCalc 429
getConfg() 429 getFold() 429 getKey() 430
getMode() 430 getType() 430 getUnits() 431
Goto 431 If 433 Input 434
InputStr 434 Item 436 Lbl 436
left() 436 Local 440 Lock 440
Loop 442 MoveVar 445 NewFold 447
NewProb 448 not 449 or 451
Output 452 part() 453 PassErr 455
Pause 455 PopUp 456 Prgm 457
Prompt 457 Rename 466 Request 466
Return 466 right() 466 Send 469
SendCalc 469 SendChat 469 setFold() 470
setGraph() 470 setMode() 471 setTable() 472
setUnits() 472 Stop 482 Style 483
switch() 484 Table 485 Text 488
Then 488 Title 488 Toolbar 490
Try 490 Unarchiv 491 Unlock 491
when() 492 While 493 xor 493
APPX-A.DOC TI-89: Appendix A (US English) Joan Terrell Revised: 07/29/98 1:45 PM Printed: 07/29/98 1:46 PM Page 390 of 128
Strings & (append) 506 # (indirection) 508 char() 397
dim() 415 expr() 423 format() 427
inString() 434 left() 436 mid() 444
ord() 452 right() 466 rotate() 466
shift() 474 string() 483
APPX-A.DOC TI-89: Appendix A (US English) Joan Terrell Revised: 07/29/98 1:45 PM Printed: 07/29/98 1:46 PM Page 391 of 128
Alphabetical Listing of Operations
Operations whose names are not alphabetic (such as +, !, and >) are listed at the end of
this appendix, starting on page 500. Unless otherwise specified, all examples in this
section were performed in the default reset mode, and all variables are assumed to be
undefined. Additionally, due to formatting restraints, approximate results are truncated at
three decimal places (3.14159265359 is shown as 3.141...).
APPX-A.DOC TI-89: Appendix A (US English) Joan Terrell Revised: 07/29/98 1:45 PM Printed: 07/29/98 1:46 PM Page 392 of 128
AndPic CATALOG
AndPic picVar[, row, column] In function graphing mode and Y= Editor:
Displays the Graph screen and logically y1(x) = cos(x) C
“ANDS” the picture stored in picVar and the 2 ˆ Style = 3:Square
current graph screen at pixel coordinates „ Zoom = 7:ZoomTrig
(row, column).
ƒ = 2:Save Copy As...
picVar must be a picture type. Type = Picture, Variable = PIC1
Default coordinates are (0,0), which is the
upper left corner of the screen.
y2(x) = sin(x)
2 ˆ Style = 3:Square
y1 = no checkmark (F4 to
deselect)
„ Zoom = 7:ZoomTrig
"
AndPic PIC1 ¸ Done
APPX-A.DOC TI-89: Appendix A (US English) Joan Terrell Revised: 07/29/98 1:45 PM Printed: 07/29/98 1:46 PM Page 393 of 128
ans() 2 ± key
ans() ⇒ value To use ans() to generate the Fibonacci
ans(integer) ⇒ value sequence on the Home screen, press:
Returns a previous answer from the 1¸ 1
Home screen history area. 1¸ 1
2±«2±A02¸ 2
integer, if included, specifies which previous
answer to recall. Valid range for integer is ¸ 3
from 1 to 99 and cannot be an expression. ¸ 5
Default is 1, the most recent answer.
Archive CATALOG
Archive var1 [, var2] [, var3] … 10!arctest ¸ 10
Archive arctest ¸ Done
Moves the specified variables from RAM to
5ùarctest ¸ 50
the user data archive memory.
15!arctest ¸
You can access an archived variable the same
as you would a variable in RAM. However,
you cannot delete, rename, or store to an
archived variable because it is locked
automatically.
To unarchive variables, use Unarchiv. N
Unarchiv arctest ¸ Done
15!arctest ¸ 15
APPX-A.DOC TI-89: Appendix A (US English) Joan Terrell Revised: 07/29/98 1:45 PM Printed: 07/29/98 1:46 PM Page 394 of 128
augment() MATH/Matrix menu
augment(list1, list2) ⇒ list augment({1,ë3,2},{5,4}) ¸
{1 ë3 2 5 4}
Returns a new list that is list2 appended to
the end of list1.
augment(matrix1, matrix2) ⇒ matrix 1 2
[1,2;3,4]!M1 ¸ [3 4]
augment(matrix1; matrix2) ⇒ matrix
5
Returns a new matrix that is matrix2 [5;6]!M2 ¸ [6]
appended to matrix1. When the “,” character 1 2 5
augment(M1,M2) ¸ [ 3 4 6]
is used, the matrices must have equal row
dimensions, and matrix2 is appended to [5,6]!M2 ¸ [5 6]
matrix1 as new columns. When the “;” 1 2
character is used, the matrices must have augment(M1;M2) ¸ 3 4
equal column dimensions, and matrix2 is 5 6
appended to matrix1 as new rows. Does not
alter matrix1 or matrix2.
avgRC() CATALOG
avgRC(expression1, var [, h]) ⇒ expression avgRC(f(x),x,h) ¸
f(x+h) - f(x)
Returns the forward-difference quotient h
(average rate of change).
avgRC(sin(x),x,h)|x=2 ¸
expression1 can be a user-defined function
sin(h+2) - sin(2)
name (see Func).
h
h is the step value. If h is omitted, it defaults
avgRC(x^2ìx+2,x) ¸
to 0.001.
2.ø(x - .4995)
Note that the similar function nDeriv() uses
the central-difference quotient. avgRC(x^2ìx+2,x,.1) ¸
2.ø(x - .45)
avgRC(x^2ìx+2,x,3) ¸ 2ø(x+1)
APPX-A.DOC TI-89: Appendix A (US English) Joan Terrell Revised: 07/29/98 1:45 PM Printed: 07/29/98 1:46 PM Page 395 of 128
BldData CATALOG
BldData [dataVar] In function graphing mode and Radian
angle mode:
Creates data variable dataVar based on the
information used to plot the current graph. 8ùsin(x)!y1(x) ¸ Done
BldData is valid in all graphing modes. 2ùsin(x)!y2(x) ¸ Done
If dataVar is omitted, the data is stored in the ZoomStd ¸
system variable sysData.
Note: The first time you start the Data/Matrix
Editor after using BldData, dataVar or sysData
(depending on the argument you used with
BldData) is set as the current data variable.
3D graphing mode has two independent Note: The following sample data is from a
variables. In the sample data to the right, 3D graph.
notice that x remains constant as y
increments through its range of values.
Then, x increments to its next value and y
again increments through its range. This
pattern continues until x has incremented
through its range.
APPX-A.DOC TI-89: Appendix A (US English) Joan Terrell Revised: 07/29/98 1:45 PM Printed: 07/29/98 1:46 PM Page 396 of 128
cFactor() MATH/Algebra/Complex menu
cFactor(expression1[, var]) ⇒ expression cFactor(a^3ùx^2+aùx^2+a^3+a)
cFactor(list1[,var]) ⇒ list ¸
cFactor(matrix1[,var]) ⇒ matrix aø(a + ëi)ø(a + i)ø(x + ëi)ø(x + i)
cFactor(expression1) returns expression1 cFactor(x^2+4/9) ¸
factored with respect to all of its variables (3øx + ë2øi)ø(3øx + 2ø i)
over a common denominator. 9
expression1 is factored as much as possible cFactor(x^2+3) ¸ xñ + 3
toward linear rational factors even if this
introduces new non-real numbers. This cFactor(x^2+a) ¸ xñ + a
alternative is appropriate if you want
factorization with respect to more than one
variable.
cFactor(expression1,var) returns expression1 cFactor(a^3ùx^2+aùx^2+a^3+a,x)
factored with respect to variable var. ¸
aø(añ + 1)ø(x + ë i)ø(x + i)
expression1 is factored as much as possible
toward factors that are linear in var, with cFactor(x^2+3,x) ¸
perhaps non-real constants, even if it (x + ‡3ø i)ø(x + ë‡3ø i)
introduces irrational constants or
subexpressions that are irrational in other cFactor(x^2+a,x) ¸
variables. (x + ‡aøëi)ø(x + ‡aø i)
The factors and their terms are sorted with
var as the main variable. Similar powers of
var are collected in each factor. Include var if
factorization is needed with respect to only
that variable and you are willing to accept
irrational expressions in any other variables
to increase factorization with respect to var.
There might be some incidental factoring
with respect to other variables.
For the AUTO setting of the Exact/Approx cFactor(x^5+4x^4+5x^3ì6xì3) ¸
mode, including var also permits x 5 + 4øx 4 + 5øx 3 ì6øxì3
approximation with floating-point
cFactor(ans(1),x) ¸
coefficients where irrational coefficients
cannot be explicitly expressed concisely in (x ì.965)ø(x +.612)ø(x + 2.13)ø
terms of the built-in functions. Even when (x + 1.11 ì 1.07øi)ø
there is only one variable, including var might (x + 1.11 + 1.07øi)
yield more complete factorization.
Note: See also factor().
APPX-A.DOC TI-89: Appendix A (US English) Joan Terrell Revised: 07/29/98 1:45 PM Printed: 07/29/98 1:46 PM Page 397 of 128
Circle CATALOG
Circle x, y, r [, drawMode] In a ZoomSqr viewing window:
Draws a circle with its center at window ZoomSqr:Circle 1,2,3 ¸
coordinates (x, y) and with a radius of r.
x, y, and r must be real values.
ClrDraw CATALOG
ClrDraw
ClrErr CATALOG
ClrErr Program listing:
Clears the error status. It sets errornum to :clearerr()
zero and clears the internal error context :Prgm
variables. :PlotsOff:FnOff:ZoomStd
:For i,0,238
The Else clause of the Try...EndTry in the :@xù i+xmin! xcord
program should use ClrErr or PassErr. If the : Try
error is to be processed or ignored, use : PtOn xcord,ln(xcord)
ClrErr. If what to do with the error is not : Else
known, use PassErr to send it to the next : If errornum=800 or
error handler. If there are no more pending errornum=260 Then
Try...EndTry error handlers, the error dialog : ClrErr © clear the error
box will be displayed as normal. : Else
: PassErr © pass on any other
Note: See also PassErr and Try. error
: EndIf
: EndTry
:EndFor
:EndPrgm
ClrGraph CATALOG
ClrGraph
APPX-A.DOC TI-89: Appendix A (US English) Joan Terrell Revised: 07/29/98 1:45 PM Printed: 07/29/98 1:46 PM Page 398 of 128
ClrHome CATALOG
ClrHome
ClrIO CATALOG
ClrIO
ClrTable CATALOG
ClrTable
APPX-A.DOC TI-89: Appendix A (US English) Joan Terrell Revised: 07/29/98 1:45 PM Printed: 07/29/98 1:46 PM Page 399 of 128
comDenom(expression1,var) returns a reduced comDenom((y^2+y)/(x+1)
ratio of numerator and denominator expanded ^2+y^2+y,x) ¸
with respect to var. The terms and their factors
are sorted with var as the main variable.
Similar powers of var are collected. There
might be some incidental factoring of the
collected coefficients. Compared to omitting
var, this often saves time, memory, and screen
space, while making the expression more comDenom((y^2+y)/(x+1)
comprehensible. It also makes subsequent ^2+y^2+y,y) ¸
operations on the result faster and less likely to
exhaust memory.
CopyVar CATALOG
CopyVar var1, var2 x+y! a ¸ x+y
10! x ¸ 10
Copies the contents of variable var1 to var2.
If var2 does not exist, CopyVar creates it. CopyVar a,b ¸ Done
a! c ¸ y + 10
Note: CopyVar is similar to the store DelVar x ¸ Done
instruction (! ) when you are copying an
b¸ x+y
expression, list, matrix, or character string
except that no simplification takes place c¸ y + 10
when using CopyVar. You must use CopyVar
with non-algebraic variable types such as Pic
and GDB variables.
APPX-A.DOC TI-89: Appendix A (US English) Joan Terrell Revised: 07/29/98 1:45 PM Printed: 07/29/98 1:46 PM Page 400 of 128
cos() 2 X key
cos(expression1) ⇒ expression In Degree angle mode:
cos(list1) ⇒ list ‡2
cos((p/4)ô ) ¸ 2
cos(expression1) returns the cosine of the
argument as an expression. ‡2
cos(45) ¸ 2
cos(list1) returns a list of the cosines of all
elements in list1.
cos({0,60,90}) ¸ {1 1/2 0}
Note: The argument is interpreted as either a
degree or radian angle, according to the In Radian angle mode:
current angle mode setting. You can use ‡2
ó or ô to override the angle mode cos(p/4) ¸ 2
temporarily.
‡2
cos(45¡) ¸ 2
0l1 0 … 0
B = 0
l2 … 0
0 … 0 and X = [V1,V2, … ,Vn]
0 0 … ln
cos(λ1) 0 K 0
0 cos(λ 2) K 0
cos (B) =
0 0 K 0
0 0 K cos(λn )
cosê () ¥ R key
cosê (expression1) ⇒ expression In Degree angle mode:
cosê (list1) ⇒ list
cosê (1) ¸ 0
cosê (expression1) returns the angle whose
cosine is expression1 as an expression. In Radian angle mode:
cosê (list1) returns a list of the inverse cosê ({0,.2,.5}) ¸
cosines of each element of list1. p
{2 1.369... 1.047...}
Note: The result is returned as either a
degree or radian angle, according to the
current angle mode setting.
APPX-A.DOC TI-89: Appendix A (US English) Joan Terrell Revised: 07/29/98 1:45 PM Printed: 07/29/98 1:46 PM Page 401 of 128
cosê(squareMatrix1) ⇒ squareMatrix In Radian angle mode and Rectangular
complex format mode:
Returns the matrix inverse cosine of
squareMatrix1. This is not the same as cosê([1,5,3;4,2,1;6,ë 2,1]) ¸
calculating the inverse cosine of each
ë 1.490…+2.105…øi …
element. For information about the 1.734…+.064…øi
calculation method, refer to cos().
ë.725…+1.515…øi .623…+.778…øi …
squareMatrix1 must be diagonalizable. The ë 2.083…+2.632…øi 1.790…ì 1.271…øi …
result always contains floating-point
numbers.
APPX-A.DOC TI-89: Appendix A (US English) Joan Terrell Revised: 07/29/98 1:45 PM Printed: 07/29/98 1:46 PM Page 402 of 128
crossP() MATH/Matrix/Vector ops menu
crossP(list1, list2) ⇒ list crossP({a1,b1},{a2,b2}) ¸
{0 0 a1ø b2ì a2ø b1}
Returns the cross product of list1 and list2 as
a list. crossP({0.1,2.2,ë 5},{1,ë.5,0})
¸
list1 and list2 must have equal dimension, and {ë 2.5 ë 5. ë 2.25}
the dimension must be either 2 or 3.
crossP(vector1, vector2) ⇒ vector crossP([1,2,3],[4,5,6]) ¸
[ë 3 6 ë 3]
Returns a row or column vector (depending
on the arguments) that is the cross product crossP([1,2],[3,4]) ¸
of vector1 and vector2. [0 0 ë 2]
Both vector1 and vector2 must be row vectors,
or both must be column vectors. Both
vectors must have equal dimension, and the
dimension must be either 2 or 3.
APPX-A.DOC TI-89: Appendix A (US English) Joan Terrell Revised: 07/29/98 1:45 PM Printed: 07/29/98 1:46 PM Page 403 of 128
cSolve(equation1 and equation2 [and … ],
{varOrGuess1, varOrGuess2 [, … ]})
⇒ Boolean expression
APPX-A.DOC TI-89: Appendix A (US English) Joan Terrell Revised: 07/29/98 1:45 PM Printed: 07/29/98 1:46 PM Page 404 of 128
If you do not include any guesses and if any cSolve(u_+v_=e^(w_) and u_ì v_=
equation is non-polynomial in any variable i, {u_,v_}) ¸
but all equations are linear in all solution
variables, cSolve() uses Gaussian elimination e w_ e w_ì i
to attempt to determine all solutions. u_= +1/2øi and v_=
2 2
If a system is neither polynomial in all of its cSolve(e^(z_)=w_ and w_=z_^2,
variables nor linear in its solution variables, {w_,z_}) ¸
cSolve() determines at most one solution w_=.494… and z_=ë.703…
using an approximate iterative method. To do
so, the number of solution variables must
equal the number of equations, and all other
variables in the equations must simplify to
numbers.
A non-real guess is often necessary to cSolve(e^(z_)=w_ and w_=z_^2,
determine a non-real solution. For {w_,z_=1+ i}) ¸
convergence, a guess might have to be rather w_=.149… + 4.891…øi and
close to a solution.
z_=1.588… + 1.540…øi
APPX-A.DOC TI-89: Appendix A (US English) Joan Terrell Revised: 07/29/98 1:45 PM Printed: 07/29/98 1:46 PM Page 405 of 128
CustmOff CATALOG
CustmOff See Custom program listing example.
Removes a custom toolbar.
CustmOn and CustmOff enable a program to
control a custom toolbar. Manually, you can
press 2 ¾ to toggle a custom toolbar
on and off. Also, a custom toolbar is removed
automatically when you change applications.
CustmOn CATALOG
CustmOn See Custom program listing example.
Activates a custom toolbar that has already
been set up in a Custom...EndCustm block.
CustmOn and CustmOff enable a program to
control a custom toolbar. Manually, you can
press 2 ¾ to toggle a custom toolbar
on and off.
Custom 2 ¾ key
Custom Program listing:
block
EndCustm :Test()
:Prgm
Sets up a toolbar that is activated when you :Custom
press 2 ¾. It is very similar to the :Title "Lists"
ToolBar instruction except that Title and Item :Item "List1"
:Item "Scores"
statements cannot have labels. :Item "L3"
block can be either a single statement or a :Title "Fractions"
:Item "f(x)"
series of statements separated with the “:” :Item "h(x)"
character. :Title "Graph"
:EndCustm
Note: 2 ¾ acts as a toggle. The first :EndPrgm
instance invokes the menu, and the second
instance removes the menu. The menu is
removed also when you change applications.
Cycle CATALOG
Cycle Program listing:
Transfers program control immediately to the :© Sum the integers from 1 to
next iteration of the current loop (For, While, 100 skipping 50.
or Loop). :0! temp
Cycle is not allowed outside the three looping :For i,1,100,1
structures (For, While, or Loop). :If i=50
:Cycle
:temp+i! temp
:EndFor
:Disp temp
Contents of temp after execution: 5000
APPX-A.DOC TI-89: Appendix A (US English) Joan Terrell Revised: 07/29/98 1:45 PM Printed: 07/29/98 1:46 PM Page 406 of 128
CyclePic CATALOG
CyclePic picNameString, n [, [wait] , [cycles], 1. Save three pics named pic1, pic2, and
[direction]] pic3.
Displays all the PIC variables specified and at 2. Enter: CyclePic "pic",3,.5,4,ë1
the specified interval. The user has optional
control over the time between pictures, the 3. The three pictures (3) will be
number of times to cycle through the displayed automatically—one-half
pictures, and the direction to go, circular or second (.5) between pictures, for
forward and backwards. four cycles (4), and forward and
backwards (ë1).
direction is 1 for circular or ë 1 for forward
and backwards. Default = 1.
APPX-A.DOC TI-89: Appendix A (US English) Joan Terrell Revised: 07/29/98 1:45 PM Printed: 07/29/98 1:46 PM Page 407 of 128
cZeros({expression1, expression2 [, … ] },
{varOrGuess1,varOrGuess2 [, … ] }) ⇒ matrix
1/2 ì
2
3
øi
3
1/2 +
2
øi
0
Simultaneous polynomials can have extra cZeros({u_ùv_ìu_ì(c_ùv_),
variables that have no values, but represent v_^2+u_},{u_,v_}) ¸
given numeric values that could be
substituted later. ë( 1ì 4øc_+1)2 1ì 4øc_+1
4 2
ë ( 1ì 4øc_ì 1)2 ë( 1ì 4øc_ì 1)
0 4
0
2
APPX-A.DOC TI-89: Appendix A (US English) Joan Terrell Revised: 07/29/98 1:45 PM Printed: 07/29/98 1:46 PM Page 408 of 128
You can also include unknown variables that cZeros({u_ù v_ì u_ì v_,v_^2+u_},
do not appear in the expressions. These {u_,v_,w_}) ¸
zeros show how families of zeros might
contain arbitrary constants of the form @k,
1/2 ì
3
2
øi 1/2 +
3
2
øi @1
where k is an integer suffix from 1 through
3 3
255. The suffix resets to 1 when you use
ClrHome or ƒ 8:Clear Home.
1/2 +
2
øi 1/2 ì øi
2
@1
0 0 @1
For polynomial systems, computation time or
memory exhaustion may depend strongly on
the order in which you list unknowns. If your
initial choice exhausts memory or your
patience, try rearranging the variables in the
expressions and/or varOrGuess list.
If you do not include any guesses and if any cZeros({u_+v_ì e^(w_),u_ì v_ì i},
expression is non-polynomial in any variable {u_,v_}) ¸
but all expressions are linear in all w_
e +1/2øi e ì i
w_
unknowns, cZeros() uses Gaussian
elimination to attempt to determine all zeros. 2 2
If a system is neither polynomial in all of its cZeros({e^(z_)ì w_,w_ì z_^2},
variables nor linear in its unknowns, cZeros() {w_,z_}) ¸
determines at most one zero using an
approximate iterative method. To do so, the [ .494… ë.703…]
number of unknowns must equal the number
of expressions, and all other variables in the
expressions must simplify to numbers.
A non-real guess is often necessary to cZeros({e^(z_)ì w_,w_ì z_^2},
determine a non-real zero. For convergence, {w_,z_=1+ i}) ¸
a guess might have to be rather close to a
zero.
[ .149…+4.89…øi 1.588…+1.540…øi]
APPX-A.DOC TI-89: Appendix A (US English) Joan Terrell Revised: 07/29/98 1:45 PM Printed: 07/29/98 1:46 PM Page 409 of 128
d() 2 = key or MATH/Calculus menu
d(expression1, var [,order]) ⇒ expression d(3x^3ì x+7,x) ¸ 9xñ ì 1
d(list1,var [,order]) ⇒ list
d(matrix1,var [,order]) ⇒ matrix d(3x^3ì x+7,x,2) ¸ 18ø x
Returns the first derivative of expression1 d(f(x)ù g(x),x) ¸
with respect to variable var. expression1 can
be a list or a matrix. d d
order, if included, must be an integer. If the dx(f(x))ø g(x) + dx(g(x))ø f(x)
order is less than zero, the result will be an
anti-derivative. d(sin(f(x)),x) ¸
d
d () does not follow the normal evaluation cos(f(x)) dx(f(x))
mechanism of fully simplifying its arguments
and then applying the function definition to d(x^3,x)|x=5 ¸ 75
these fully simplified arguments. Instead, d ()
performs the following steps: d(d(x^2ù y^3,x),y) ¸ 6ø yñ ø x
1. Simplify the second argument only to the
extent that it does not lead to a non- xò
d(x^2,x,ë 1) ¸ 3
variable.
2. Simplify the first argument only to the d({x^2,x^3,x^4},x) ¸
extent that it does recall any stored value {2ø x 3ø xñ 4ø xò }
for the variable determined by step 1.
3. Determine the symbolic derivative of the
result of step 2 with respect to the
variable from step 1.
4. If the variable from step 1 has a stored
value or a value specified by a “with” (|)
operator, substitute that value into the
result from step 3.
APPX-A.DOC TI-89: Appendix A (US English) Joan Terrell Revised: 07/29/98 1:45 PM Printed: 07/29/98 1:46 PM Page 410 of 128
Zero, not the letter O, followed by b or h.
0b binaryNumber
0h hexadecimalNumber
A binary number can have up to
32 digits. A hexadecimal number
can have up to 8.
Without a prefix, integer1 is treated as
decimal. The result is displayed in decimal,
regardless of the Base mode.
Define CATALOG
Define funcName(arg1Name, arg2Name, ...) = Define g(x,y)=2xì 3y ¸ Done
expression g(1,2) ¸ ë4
Creates funcName as a user-defined function. 1! a:2! b:g(a,b) ¸ ë4
You then can use funcName(), just as you use
built-in functions. The function evaluates Define h(x)=when(x<2,2x-3,
expression using the supplied arguments and ë 2x+3) ¸ Done
returns the result.
funcName cannot be the name of a system h(ë 3) ¸ ë9
variable or built-in function. h(4) ¸ ë5
The argument names are placeholders; you
should not use those same names as Define eigenvl(a)=
arguments when you use the function. cZeros(det(identity(dim(a)
[1])-xù a),x) ¸ Done
Note: This form of Define is equivalent to
executing the expression: eigenvl([ë 1,2;4,3]) ¸
expression!funcName(arg1Name,arg2Name). 2ø 3 - 1 ë (2ø 3 + 1)
This command also can be used to define { 11 11 }
simple variables; for example, Define a=3.
Define funcName(arg1Name, arg2Name, ...) = Func Define g(x,y)=Func:If x>y Then
block :Return x:Else:Return y:EndIf
EndFunc :EndFunc ¸ Done
APPX-A.DOC TI-89: Appendix A (US English) Joan Terrell Revised: 07/29/98 1:45 PM Printed: 07/29/98 1:46 PM Page 411 of 128
Define progName(arg1Name, arg2Name, ...) = Prgm Define listinpt()=prgm:Local
block n,i,str1,num:InputStr "Enter
EndPrgm name of list",str1:Input "No.
of elements",n:For
Creates progName as a program or i,1,n,1:Input "element
subprogram, but cannot return a result using "&string(i),num:
Return. Can execute a block of multiple num! #str1[i]:EndFor:EndPrgm
statements. ¸
block can be either a single statement or a Done
series of statements separated with the “:” listinpt() ¸ Enter name of list
character. block also can include expressions
and instructions (such as If, Then, Else, and
For) without restrictions.
DelFold CATALOG
DelFold folderName1[, folderName2] [, folderName3] ... NewFold games ¸ Done
(creates the folder games)
Deletes user-defined folders with the names
folderName1, folderName2, etc. An error DelFold games ¸ Done
message is displayed if the folders contain
(deletes the folder games)
any variables.
Note: You cannot delete the main folder.
DelVar CATALOG
DelVar var1[, var2] [, var3] ... 2! a ¸ 2
(a+2)^2 ¸ 16
Deletes the specified variables from memory. DelVar a ¸ Done
(a+2)^2 ¸ (a + 2)ñ
APPX-A.DOC TI-89: Appendix A (US English) Joan Terrell Revised: 07/25/98 12:07 PM Printed: 07/25/98 3:00 PM Page 412 of 128
Apply solve() to an implicit solution if you deSolve(y'=(cos(y))^2ù x,x,y)
want to try to convert it to one or more ¸
equivalent explicit solutions. xñ
tan(y)= +@3
2
When comparing your results with textbook solve(ans(1),y) ¸
or manual solutions, be aware that different xñ +2ø@3
methods introduce arbitrary constants at
different points in the calculation, which may
y=tanê
( 2 )+@n1øp
produce different general solutions. Note: To type an @ symbol, press
¥ §.
ans(1)|@3=cì 1 and @n1=0 ¸
xñ +2ø(cì 1)
y=tanê
2( )
deSolve(1stOrderOde and initialCondition, sin(y)=(yù e^(x)+cos(y))y'! ode
independentVar, dependentVar) ¸
⇒ a particular solution sin(y)=(e xøy+cos(y))øy'
Returns a particular solution that satisfies deSolve(ode and
1stOrderOde and initialCondition. This is y(0)=0,x,y)! soln ¸
usually easier than determining a general
ë(2øsin(y)+yñ)
solution, substituting initial values, solving =ë(exì1)øeëxøsin(y)
for the arbitrary constant, and then 2
substituting that value into the general soln|x=0 and y=0 ¸ true
solution.
initialCondition is an equation of the form: d(right(eq)ì left(eq),x)/
(d(left(eq)ì right(eq),y))
dependentVar (initialIndependentValue) =
initialDependentValue
! impdif(eq,x,y) ¸
Done
The initialIndependentValue and
initialDependentValue can be variables such as ode|y'=impdif(soln,x,y) ¸
x0 and y0 that have no stored values. Implicit true
differentiation can help verify implicit DelVar ode,soln ¸ Done
solutions.
deSolve(2ndOrderOde and initialCondition1 and deSolve(y''=y^(ë 1/2) and
initialCondition2, independentVar, y(0)=0 and y'(0)=0,t,y) ¸
dependentVar) ⇒ a particular solution 2øy 3/4
=t
Returns a particular solution that satisfies 3
2ndOrderOde and has a specified value of the
solve(ans(1),y) ¸
dependent variable and its first derivative at
one point. 22/3ø(3øt)4/3
y= and t‚0
4
For initialCondition1, use the form:
dependentVar (initialIndependentValue) =
initialDependentValue
APPX-A.DOC TI-89: Appendix A (US English) Joan Terrell Revised: 07/25/98 12:07 PM Printed: 07/25/98 3:00 PM Page 413 of 128
deSolve(2ndOrderOde and boundaryCondition1 and deSolve(w''ì 2w'/x+(9+2/x^2)w=
boundaryCondition2, independentVar, xù e^(x) and w(p/6)=0 and
dependentVar) ⇒ a particular solution
w(p/3)=0,x,w) ¸
Returns a particular solution that satisfies p
2ndOrderOde and has specified values at two e 3øxøcos(3øx)
different points. w=
10
p
e øxøsin(3øx) x⋅⋅e x
6
ì +
10 10
APPX-A.DOC TI-89: Appendix A (US English) Joan Terrell Revised: 07/25/98 12:07 PM Printed: 07/25/98 3:00 PM Page 414 of 128
Dialog CATALOG
Dialog Program listing:
block
EndDlog
:Dlogtest()
:Prgm
Generates a dialog box when the program is :Dialog
executed. :Title "This is a dialog box"
:Request "Your name",Str1
block can be either a single statement or a :Dropdown "Month you were born",
series of statements separated with the “:” seq(string(i),i,1,12),Var1
character. Valid block options in the :EndDlog
… I/O, 1:Dialog menu item in the Program :EndPrgm
Editor are 1:Text, 2:Request, 4:DropDown, and
7:Title.
Disp CATALOG
Disp [exprOrString1] [, exprOrString2] ... Disp "Hello" ¸ Hello
APPX-A.DOC TI-89: Appendix A (US English) Joan Terrell Revised: 07/25/98 12:07 PM Printed: 07/25/98 3:00 PM Page 415 of 128
DispG CATALOG
DispG In function graphing mode:
Displays the current contents of the Graph Program segment:
screen.
©
:5ù cos(x)! y1(x)
:ë 10! xmin
:10! xmax
:ë 5! ymin
:5! ymax
:DispG
©
DispHome CATALOG
DispHome Program segment:
Displays the current contents of the Home ©
screen. :Disp "The result is: ",xx
:Pause "Press Enter to quit"
:DispHome
:EndPrgm
DispTbl CATALOG
DispTbl 5ù cos(x)! y1(x) ¸
DispTbl ¸
Displays the current contents of the Table
screen.
Note: The cursor pad is active for scrolling.
Press N or ¸ to resume execution if in
a program.
APPX-A.DOC TI-89: Appendix A (US English) Joan Terrell Revised: 07/25/98 12:07 PM Printed: 07/25/98 3:00 PM Page 416 of 128
dotP() MATH/Matrix/Vector ops menu
dotP(list1, list2) ⇒ expression dotP({a,b,c},{d,e,f}) ¸
aø d + bø e + cø f
Returns the “dot” product of two lists.
dotP({1,2},{5,6}) ¸ 17
DrawFunc CATALOG
DrawFunc expression In function graphing mode and ZoomStd
window:
Draws expression as a function, using x as the
independent variable. DrawFunc 1.25xù cos(x) ¸
DrawInv CATALOG
DrawInv expression In function graphing mode and ZoomStd
window:
Draws the inverse of expression by plotting x
values on the y axis and y values on the x DrawInv 1.25xù cos(x) ¸
axis.
x is the independent variable.
DrawParm CATALOG
DrawParm expression1, expression2 In function graphing mode and ZoomStd
[, tmin] [, tmax] [, tstep] window:
Draws the parametric equations expression1 DrawParm
and expression2, using t as the independent tù cos(t),tù sin(t),0,10,.1 ¸
variable.
Defaults for tmin, tmax, and tstep are the
current settings for the Window variables
tmin, tmax, and tstep. Specifying values does
not alter the window settings. If the current
graphing mode is not parametric, these three
arguments are required.
Note: Regraphing erases all drawn items.
APPX-A.DOC TI-89: Appendix A (US English) Joan Terrell Revised: 07/25/98 12:07 PM Printed: 07/25/98 3:00 PM Page 417 of 128
DrawPol CATALOG
DrawPol expression[, qmin] [, qmax] [, qstep] In function graphing mode and ZoomStd
window:
Draws the polar graph of expression, using q
as the independent variable. DrawPol 5ù cos(3ù q),0,3.5,.1
¸
Defaults for qmin, qmax, and qstep are the
current settings for the Window variables
qmin, qmax, and qstep. Specifying values does
not alter the window settings. If the current
graphing mode is not polar, these three
arguments are required.
Note: Regraphing erases all drawn items.
DrawSlp CATALOG
DrawSlp x1, y1, slope In function graphing mode and ZoomStd
window:
Displays the graph and draws a line using the
formula yì y1=slopeø (xì x1). DrawSlp 2,3,ë 2 ¸
DropDown CATALOG
DropDown titleString, {item1String, item2String, ...}, See Dialog program listing example.
varName
APPX-A.DOC TI-89: Appendix A (US English) Joan Terrell Revised: 07/25/98 12:07 PM Printed: 07/25/98 3:00 PM Page 418 of 128
DrwCtour CATALOG
DrwCtour expression In 3D graphing mode:
DrwCtour list
(1/5)x^2+(1/5)y^2ì 10!z1(x,y)
Draws contours on the current 3D graph at ¸
the z values specified by expression or list. Done
The 3D graphing mode must already be set. L10!xmin:10!xmax ¸ 10
DrwCtour automatically sets the graph format L10!ymin:10!ymax ¸ 10
style to CONTOUR LEVELS. L10!zmin:10!zmax ¸ 10
0!ncontour ¸ 0
By default, the graph automatically contains DrwCtour {L9,L4.5,L3,0,4.5,9}
the number of equally spaced contours ¸
specified by the ncontour Window variable.
DrwCtour draws contours in addition to the
defaults.
To turn off the default contours, set ncontour
to zero, either by using the Window screen or
by storing 0 to the ncontour system variable.
• Use the cursor to change the viewing
angle. Press 0 (zero) to return to the
original view.
• Press Í to toggle between different
graph format styles.
• Press X, Y, or Z to look down the
corresponding axis.
í ^ key
mantissaEexponent 2.3í 4 ¸ 23000.
e^() ¥ s key
e^(expression1) ⇒ expression e^(1) ¸ e
Returns e raised to the expression1 power. e^(1.) ¸ 2.718...
Note: Pressing ¥ s to display e^( is e^(3)^2 ¸ e9
different from pressing j [E ] .
You can enter a complex number in re i q polar
form. However, use this form in Radian angle
mode only; it causes a Domain error in Degree
angle mode.
e^(list1) ⇒ list e^({1,1.,0,.5}) ¸
{e 2.718... 1 1.648...}
Returns e raised to the power of each
element in list1.
APPX-A.DOC TI-89: Appendix A (US English) Joan Terrell Revised: 07/25/98 12:07 PM Printed: 07/25/98 3:00 PM Page 419 of 128
e^(squareMatrix1) ⇒ squareMatrix e^([1,5,3;4,2,1;6,ë 2,1]) ¸
APPX-A.DOC TI-89: Appendix A (US English) Joan Terrell Revised: 07/25/98 12:07 PM Printed: 07/25/98 3:00 PM Page 420 of 128
EndCustm See Custom, page 406.
entry() CATALOG
entry() ⇒ expression On the Home screen:
entry(integer) ⇒ expression
1
1+1/x ¸ x+1
Returns a previous entry-line entry from the
Home screen history area.
1
1+1/entry(1) ¸ 2-x+1
integer, if included, specifies which entry
expression in the history area. The default is 1
1, the most recently evaluated entry. Valid ¸ 2ø (2ø x+1) + 3/2
range is from 1 to 99 and cannot be an
expression. 1
¸ 5/3-3ø (3ø x+2)
Note: If the last entry is still highlighted on
the Home screen, pressing ¸ is
equivalent to executing entry(1). 1
entry(4) ¸ x+1
APPX-A.DOC TI-89: Appendix A (US English) Joan Terrell Revised: 07/25/98 12:07 PM Printed: 07/25/98 3:00 PM Page 421 of 128
Exec CATALOG
Exec string [, expression1] [, expression2] ...
Exit CATALOG
Exit Program listing:
Exits the current For, While, or Loop block. :0! temp
Exit is not allowed outside the three looping
:For i,1,100,1
: temp+i! temp
structures (For, While, or Loop).
: If temp>20
: Exit
:EndFor
:Disp temp
Contents of temp after execution: 21
exp4list() CATALOG
exp4list(expression,var) ⇒ list solve(x^2ì xì 2=0,x) ¸ x=2 or
x=ë 1
Examines expression for equations that are
separated by the word “or,” and returns a list
exp4list(solve(x^2ì xì 2=0,x),x)
containing the right-hand sides of the
¸
equations of the form var=expression. This
{ë 1 2}
gives you an easy way to extract some
solution values embedded in the results of
the solve(), cSolve(), fMin(), and fMax()
functions.
Note: exp4list() is not necessary with the
zeros and cZeros() functions because they
return a list of solution values directly.
APPX-A.DOC TI-89: Appendix A (US English) Joan Terrell Revised: 07/25/98 12:07 PM Printed: 07/25/98 3:00 PM Page 422 of 128
expand(expression1,var) returns expression expand((x+y+1)^2,y) ¸
expanded with respect to var. Similar powers yñ + 2ø yø (x + 1) + (x + 1)ñ
of var are collected. The terms and their
factors are sorted with var as the main expand((x+y+1)^2,x) ¸
variable. There might be some incidental xñ + 2ø xø (y + 1) + (y + 1)ñ
factoring or expansion of the collected
coefficients. Compared to omitting var, this expand((x^2ì x+y^2ì y)/(x^2ù y^2
often saves time, memory, and screen space, ì x^2ù yì xù y^2+xù y),y) ¸
while making the expression more
comprehensible.
expand(ans(1),x) ¸
Even when there is only one variable, using expand((x^3+x^2ì 2)/(x^2ì 2))
var might make the denominator ¸
factorization used for partial fraction 2ø x
expansion more complete. xñ ì 2 + x+1
Hint: For rational expressions, propFrac() is
a faster but less extreme alternative to expand(ans(1),x) ¸
expand(). 1 1
xì ‡2 + x+‡2 + x+1
Note: See also comDenom() for an expanded
numerator over an expanded denominator.
expand(expression1,[var]) also distributes ln(2xù y)+‡(2xù y) ¸
logarithms and fractional powers regardless ln(2ø xø y) + ‡(2ø xø y)
of var. For increased distribution of
logarithms and fractional powers, inequality expand(ans(1)) ¸
constraints might be necessary to guarantee ln(xø y) + ‡2ø ‡(xø y) + ln(2)
that some factors are nonnegative.
expand(ans(1))|y>=0 ¸
expand(expression1, [var]) also distributes
absolute values, sign(), and exponentials, ln(x) + ‡2ø ‡xø ‡y + ln(y) + ln(2)
regardless of var.
sign(xù y)+abs(xù y)+ e^(2x+y)
Note: See also tExpand() for trigonometric ¸
angle-sum and multiple-angle expansion. e 2ø x+y + sign(xø y) + |xø y|
expand(ans(1)) ¸
sign(x)øsign(y) + |x|ø|y|+ (ex)2øey
cube(2) ¸ 8
APPX-A.DOC TI-89: Appendix A (US English) Joan Terrell Revised: 07/25/98 12:07 PM Printed: 07/25/98 3:00 PM Page 423 of 128
ExpReg MATH/Statistics/Regressions menu
ExpReg list1, list2 [, [list3] [, list4, list5]] In function graphing mode:
Calculates the exponential regression and {1,2,3,4,5,6,7,8}! L1 ¸
updates all the system statistics variables. {1 2 ...}
All the lists must have equal dimensions {1,2,2,2,3,4,5,7}! L2 ¸
except for list5. {1 2 ...}
ExpReg L1,L2 ¸ Done
list1 represents xlist.
ShowStat ¸
list2 represents ylist.
list3 represents frequency.
list4 represents category codes.
list5 represents category include list.
APPX-A.DOC TI-89: Appendix A (US English) Joan Terrell Revised: 07/25/98 12:07 PM Printed: 07/25/98 3:00 PM Page 424 of 128
For the AUTO setting of the Exact/Approx factor(x^5+4x^4+5x^3ì 6xì 3) ¸
mode, including var permits approximation x 5 + 4ø x4 + 5ø x3ì 6ø x ì 3
with floating-point coefficients where
irrational coefficients cannot be explicitly factor(ans(1),x) ¸
expressed concisely in terms of the built-in (xì.964…)ø (x +.611…)ø
functions. Even when there is only one (x + 2.125…)ø (xñ + 2.227…ø
variable, including var might yield more
complete factorization. x + 2.392…)
APPX-A.DOC TI-89: Appendix A (US English) Joan Terrell Revised: 07/25/98 12:07 PM Printed: 07/25/98 3:00 PM Page 425 of 128
fMax() MATH/Calculus menu
fMax(expression, var) ⇒ Boolean expression fMax(1ì (xì a)^2ì (xì b)^2,x) ¸
FnOff CATALOG
FnOff
APPX-A.DOC TI-89: Appendix A (US English) Joan Terrell Revised: 07/25/98 12:07 PM Printed: 07/25/98 3:00 PM Page 426 of 128
FnOn CATALOG
FnOn
For CATALOG
For var, low, high [, step] Program segment:
block
EndFor ©
:0! tempsum : 1! step
Executes the statements in block iteratively :For i,1,100,step
for each value of var, from low to high, in : tempsum+i! tempsum
increments of step. :EndFor
var must not be a system variable. :Disp tempsum
©
step can be positive or negative. The default
value is 1. Contents of tempsum after
execution: 5050
block can be either a single statement or a
series of statements separated with the “:” Contents of tempsum when step
character. is changed to 2: 2500
APPX-A.DOC TI-89: Appendix A (US English) Joan Terrell Revised: 07/25/98 12:07 PM Printed: 07/25/98 3:00 PM Page 427 of 128
G[n][c]: Same as fixed format but also
separates digits to the left of the radix into
groups of three. c specifies the group
separator character and defaults to a comma.
If c is a period, the radix will be shown as a
comma.
[Rc]: Any of the above specifiers may be
suffixed with the Rc radix flag, where c is a
single character that specifies what to
substitute for the radix point.
Func CATALOG
Func In function graphing mode, define a
block piecewise function:
EndFunc
Define g(x)=Func:If x<0 Then
Required as the first statement in a multi- :Return 3ù cos(x):Else:Return
statement function definition. 3ì x:EndIf:EndFunc ¸ Done
block can be either a single statement or a Graph g(x) ¸
series of statements separated with the “:”
character.
Note: when() also can be used to define and
graph piecewise-defined functions.
APPX-A.DOC TI-89: Appendix A (US English) Joan Terrell Revised: 07/25/98 12:07 PM Printed: 07/25/98 3:00 PM Page 428 of 128
Get CATALOG
Get var Program segment:
Retrieves a CBL (Calculator-Based ©
Laboratory) value from the link port and :Send {3,1,ë 1,0}
stores it in variable var. :For i,1,99
: Get data[i]
: PtOn i,data[i]
:EndFor
©
GetCalc CATALOG
GetCalc var Program segment:
Retrieves a value from the link port and ©
stores it in variable var. This is for unit-to-unit :Disp "Press Enter when ready"
linking. :Pause
:GetCalc L1
Note: To get a variable to the link port from :Disp "List L1 received"
another unit, use 2 ° on the other ©
unit to select and send a variable, or do a
SendCalc on the other unit.
getConfg() CATALOG
getConfg() ⇒ ListPairs getConfg() ¸
{"Product Name" "Advanced
Returns a list of calculator attributes. The Mathematics Software"
attribute name is listed first, followed by its "Version" "1.00, 08/03/1998"
value. "Product ID" "03-0-0-13"
"Serial #" "01012 34567 ABCD"
"Cert. Rev. #" 0
"Screen Width" 160
"Screen Height" 100
"Window Width" 160
"Window Height" 67
"RAM Size" 262132
"Free RAM" 179830
"Archive Size" 393216
"Free Archive" 393204}
Note: Your screen may display different
attribute values. The Cert. Rev. # attribute
appears only if you have purchased and
installed additional software into the
calculator.
getFold() CATALOG
getFold() ⇒ nameString getFold() ¸ "main"
APPX-A.DOC TI-89: Appendix A (US English) Joan Terrell Revised: 07/25/98 12:07 PM Printed: 07/25/98 3:00 PM Page 429 of 128
getKey() CATALOG
getKey() ⇒ integer Program listing:
Returns the key code of the key pressed. :Disp
Returns 0 if no key is pressed. :Loop
: getKey()! key
The prefix keys (shift ¤, second function : while key=0
2, option ¥, and j) are not recognized : getKey()! key
by themselves; however, they modify the
: EndWhile
keycodes of the key that follows them. For : Disp key
example: ¥ Ù ƒ Ù ƒ 2 Ù. : If key = ord("a")
: Stop
For a listing of key codes, see Appendix B. :EndLoop
getMode() CATALOG
getMode(modeNameString) ⇒ string getMode("angle") ¸ "RADIAN"
getMode("ALL") ⇒ ListStringPairs
getMode("graph") ¸ "FUNCTION"
If the argument is a specific mode name,
returns a string containing the current setting getMode("all") ¸
for that mode. {"Graph" "FUNCTION"
"Display Digits" "FLOAT 6"
If the argument is "ALL", returns a list of "Angle" "RADIAN"
string pairs containing the settings of all the "Exponential Format" "NORMAL"
modes. If you want to restore the mode "Complex Format" "REAL"
settings later, you must store the "Vector Format" "RECTANGULAR"
getMode("ALL") result in a variable, and then "Pretty Print" "ON"
"Split Screen" "FULL"
use setMode() to restore the modes. "Split 1 App" "Home"
For a listing of mode names and possible "Split 2 App" "Graph"
"Number of Graphs" "1"
settings, see setMode(). "Graph 2" "FUNCTION"
Note: To set or return information about the "Exact/Approx" "AUTO"
"Base" "DEC"}
Unit System mode, use setUnits() or getUnits()
instead of setMode() or getMode(). Note: Your screen may display different
mode settings.
getType() CATALOG
getType(var) ⇒ string {1,2,3}! temp ¸ {1 2 3}
getType(temp) ¸ "LIST"
Returns a string indicating the data type of
variable var. 2+3i! temp ¸ 2 + 3i
If var has not been defined, returns the string getType(temp) ¸ "EXPR"
"NONE".
DelVar temp ¸ Done
getType(temp) ¸ "NONE"
APPX-A.DOC TI-89: Appendix A (US English) Joan Terrell Revised: 07/25/98 12:07 PM Printed: 07/25/98 3:00 PM Page 430 of 128
"GDB" Graph data base
"LIST" List
"MAT" Matrix
"NONE" Variable does not exist
"NUM" Real number
"OTHER" Miscellaneous data type for future use by software applications
"PIC" Picture
"PRGM" Program
"STR" String
"TEXT" Text type
"VAR" Name of another variable
getUnits() CATALOG
getUnits() ⇒ list getUnits() ¸
{"SI" "Area" "NONE"
Returns a list of strings that contain the "Capacitance" "_F"
current default units for all categories except "Charge" "_coul"
constants, temperature, amount of substance, … }
luminous intensity, and acceleration. list has
the form: Note: Your screen may display different
default units.
{"system" "cat1" "unit1" "cat2" "unit2" …}
The first string gives the system (SI, ENG/US,
or CUSTOM). Subsequent pairs of strings give
a category (such as Length) and its default
unit (such as _m for meters).
To set the default units, use setUnits().
Goto CATALOG
Goto labelName Program segment:
Transfers program control to the label ©
labelName. :0! temp
labelName must be defined in the same
:1! i
program using a Lbl instruction. :Lbl TOP
: temp+i! temp
: If i<10 Then
: i+1! i
: Goto TOP
: EndIf
:Disp temp
©
APPX-A.DOC TI-89: Appendix A (US English) Joan Terrell Revised: 07/25/98 12:07 PM Printed: 07/25/98 3:00 PM Page 431 of 128
Graph CATALOG
Graph expression1[, expression2] [, var1] [, var2] In function graphing mode and ZoomStd
window:
The Smart Graph feature graphs the requested
expressions/ functions using the current Graph 1.25aù cos(a),a ¸
graphing mode.
Expressions entered using the Graph or Table
commands are assigned increasing function
numbers starting with 1. They can be
modified or individually deleted using the
edit functions available when the table is
displayed by pressing † Header. The In parametric graphing mode and ZoomStd
currently selected Y= functions are ignored. window:
If you omit an optional var argument, Graph Graph time,2cos(time)/time,time
uses the independent variable of the current ¸
graphing mode.
Note: Not all optional arguments are valid in
all modes because you can never have all
four arguments at the same time.
APPX-A.DOC TI-89: Appendix A (US English) Joan Terrell Revised: 07/25/98 12:07 PM Printed: 07/25/98 3:00 PM Page 432 of 128
identity() MATH/Matrix menu
identity(expression) ⇒ matrix identity(4) ¸
1 0 0 0
Returns the identity matrix with a dimension 0 1 0 0
of expression. 0 0 1 0
0 0 0 1
expression must evaluate to a positive integer.
If CATALOG
If Boolean expression If Boolean expression Then Program segment:
statement block
EndIf ©
:If x<0
If Boolean expression evaluates to true, :Disp "x is negative"
executes the single statement statement or the ©
block of statements block before continuing —or—
execution.
©
If Boolean expression evaluates to false, :If x<0 Then
continues execution without executing the : Disp "x is negative"
statement or block of statements. : abs(x)! x
:EndIf
block can be either a single statement or a ©
sequence of statements separated with the “:”
character.
If Boolean expression Then Program segment:
block1
Else ©
block2 :If x<0 Then
EndIf : Disp "x is negative"
: Else
If Boolean expression evaluates to true, : Disp "x is positive or zero"
executes block1 and then skips block2. :EndIf
©
If Boolean expression evaluates to false, skips
block1 but executes block2.
APPX-A.DOC TI-89: Appendix A (US English) Joan Terrell Revised: 07/25/98 12:07 PM Printed: 07/25/98 3:00 PM Page 433 of 128
imag(list1) ⇒ list imag({ë 3,4ë i,i}) ¸ {0 ë 1 1}
Returns a list of the imaginary parts of the
elements.
imag(matrix1) ⇒ matrix 0 0
imag([a,b;ic,id]) ¸ [c d]
Returns a matrix of the imaginary parts of the
elements.
Input CATALOG
Input Program segment:
Pauses the program, displays the current ©
Graph screen, and lets you update variables :© Get 10 points from the Graph
xc and yc (also rc and qc for polar coordinate Screen
mode) by positioning the graph cursor. :For i,1,10
: Input
When you press ¸, the program resumes. : xc! XLIST[i]
: yc! YLIST[i]
:EndFor
©
InputStr CATALOG
InputStr [promptString,] var Program segment:
Pauses the program, displays promptString on ©
the Program I/O screen, waits for you to :InputStr "Enter Your Name",str1
enter a response, and stores your response as ©
a string in variable var.
If you omit promptString, “?” is displayed as a
prompt.
Note: The difference between Input and
InputStr is that InputStr always stores the
result as a string so that “ ” are not required.
APPX-A.DOC TI-89: Appendix A (US English) Joan Terrell Revised: 07/25/98 12:07 PM Printed: 07/25/98 3:00 PM Page 434 of 128
int() CATALOG
int(expression) ⇒ integer int(ë 2.5) ¸ ë 3.
int(list1) ⇒ list
int(matrix1) ⇒ matrix int([-1.234,0,0.37]) ¸
[-2. 0 0.]
Returns the greatest integer that is less than
or equal to the argument. This function is
identical to floor().
The argument can be a real or a complex
number.
For a list or matrix, returns the greatest
integer of each of the elements.
intDiv() CATALOG
intDiv(number1, number2) ⇒ integer intDiv(ë 7,2) ¸ ë3
intDiv(list1, list2) ⇒ list
intDiv(matrix1, matrix2) ⇒ matrix intDiv(4,5) ¸ 0
Returns the signed integer part of argument 1 intDiv({12,ë 14,ë 16},{5,4,ë 3})
divided by argument 2. ¸
{2 ë 3 5}
For lists and matrices returns the signed
integer part of argument 1 divided by
argument 2 for each element pair.
APPX-A.DOC TI-89: Appendix A (US English) Joan Terrell Revised: 07/25/98 12:07 PM Printed: 07/25/98 3:00 PM Page 435 of 128
Item CATALOG
Item itemNameString See Custom example.
Item itemNameString, label
Lbl CATALOG
Lbl labelName Program segment:
Defines a label with the name labelName in ©
the program. :Lbl lbl1
:InputStr "Enter password",
You can use a Goto labelName instruction to str1
transfer program control to the instruction :If str1ƒpassword
immediately following the label. : Goto lbl1
:Disp "Welcome to ..."
labelName must meet the same naming ©
requirements as a variable name.
APPX-A.DOC TI-89: Appendix A (US English) Joan Terrell Revised: 07/25/98 12:07 PM Printed: 07/25/98 3:00 PM Page 436 of 128
limit() MATH/Calculus menu
limit(expression1, var, point[, direction]) ⇒ limit(2x+3,x,5) ¸ 13
expression
limit(list1, var, point[, direction]) ⇒ list limit(1/x,x,0,1) ¸ ˆ
limit(matrix1, var, point[, direction]) ⇒ matrix
limit(sin(x)/x,x,0) ¸ 1
Returns the limit requested.
limit((sin(x+h)-sin(x))/h,h,0)
direction: negative=from left, positive=from ¸
right, otherwise=both. (If omitted, direction cos(x)
defaults to both.)
limit((1+1/n)^n,n,ˆ) ¸ e
Line CATALOG
Line xStart, yStart, xEnd, yEnd[, drawMode] In the ZoomStd window, draw a line and
then erase it.
Displays the Graph screen and draws, erases,
or inverts a line segment between the Line 0,0,6,9 ¸
window coordinates (xStart, yStart) and
(xEnd, yEnd), including both endpoints.
If drawMode = 1, draws the line (default).
If drawMode = 0, turns off the line.
If drawMode = ë 1, turns a line that is on to off
or off to on (inverts pixels along the line).
"
Note: Regraphing erases all drawn items. See Line 0,0,6,9,0 ¸
also PxlLine.
APPX-A.DOC TI-89: Appendix A (US English) Joan Terrell Revised: 07/29/98 1:45 PM Printed: 07/29/98 1:57 PM Page 437 of 128
LineHorz CATALOG
LineHorz y [, drawMode] In a ZoomStd window:
Displays the Graph screen and draws, erases, LineHorz 2.5 ¸
or inverts a horizontal line at window
position y.
If drawMode = 1, draws the line (default).
If drawMode = 0, turns off the line.
If drawMode = ë 1, turns a line that is on to off
or off to on (inverts pixels along the line).
Note: Regraphing erases all drawn items. See
also PxlHorz.
LineTan CATALOG
LineTan expression1, expression2 In function graphing mode and a ZoomTrig
window:
Displays the Graph screen and draws a line
tangent to expression1 at the point specified. Graph cos(x)
"
expression1 is an expression or the name of a LineTan cos(x),p/4 ¸
function, where x is assumed to be the
independent variable, and expression2 is the x
value of the point that is tangent.
Note: In the example shown, expression1 is
graphed separately. LineTan does not graph
expression1.
LineVert CATALOG
LineVert x [, drawMode] In a ZoomStd window:
Displays the Graph screen and draws, erases, LineVert ë 2.5 ¸
or inverts a vertical line at window position x.
If drawMode = 1, draws the line (default).
If drawMode = 0, turns off the line.
If drawMode = ë 1, turns a line that is on to off
or off to on (inverts pixels along the line).
Note: Regraphing erases all drawn items. See
also PxlVert.
APPX-A.DOC TI-89: Appendix A (US English) Joan Terrell Revised: 07/29/98 1:45 PM Printed: 07/29/98 1:57 PM Page 438 of 128
¸
Note: list1 through list4 must be a variable
name or c1–c99 (columns in the last data Regeq(x)"y1(x) ¸ Done
variable shown in the Data/Matrix Editor). NewPlot 1,1,L1,L2 ¸ Done
list5 does not have to be a variable name and
¥%
cannot be c1–c99.
ln() 2 x key
ln(expression1) ⇒ expression ln(2.0) ¸ .693...
ln(list1) ⇒ list
If complex format mode is REAL:
Returns the natural logarithm of the
argument. ln({ë 3,1.2,5}) ¸
Error: Non-real result
For a list, returns the natural logarithms of
the elements. If complex format mode is RECTANGULAR:
ln({ë 3,1.2,5}) ¸
{ln(3) + pø i .182... ln(5)}
APPX-A.DOC TI-89: Appendix A (US English) Joan Terrell Revised: 07/29/98 1:45 PM Printed: 07/29/98 1:57 PM Page 439 of 128
LnReg MATH/Statistics/Regressions menu
LnReg list1, list2[, [list3] [, list4, list5]] In function graphing mode:
Calculates the logarithmic regression and {1,2,3,4,5,6,7,8}! L1 ¸
updates all the system statistics variables. {1 2 3 ...}
All the lists must have equal dimensions {1,2,2,3,3,3,4,4}! L2 ¸
except for list5. {1 2 2 ...}
LnReg L1,L2 ¸ Done
list1 represents xlist.
ShowStat ¸
list2 represents ylist.
list3 represents frequency.
list4 represents category codes.
list5 represents category include list.
Local CATALOG
Local var1[, var2] [, var3] ... Program listing:
Declares the specified vars as local variables. :prgmname()
Those variables exist only during evaluation :Prgm
of a program or function and are deleted :Local x,y
when the program or function finishes :Input "Enter x",x
execution. :Input "Enter y",y
:Disp xù y
Note: Local variables save memory because :EndPrgm
they only exist temporarily. Also, they do not
disturb any existing global variable values. Note: x and y do not exist after the
Local variables must be used for For loops program executes.
and for temporarily saving values in a multi-
line function since modifications on global
variables are not allowed in a function.
Lock CATALOG
Lock var1[, var2] ... {1,2,3,4}! L1 ¸ {1,2,3,4}
APPX-A.DOC TI-89: Appendix A (US English) Joan Terrell Revised: 07/29/98 1:45 PM Printed: 07/29/98 1:57 PM Page 440 of 128
log() CATALOG
log(expression1) ⇒ expression log(2.0) ¸ .301...
log(list1) ⇒ list
If complex format mode is REAL:
Returns the base-10 logarithm of the
argument. log({ë 3,1.2,5}) ¸
Error: Non-real result
For a list, returns the base-10 logs of the
elements. If complex format mode is RECTANGULAR:
log({ë 3,1.2,5}) ¸
ln(3) p ln(5)
{ln(10) + ln(10) øi .079... ln(10)}
APPX-A.DOC TI-89: Appendix A (US English) Joan Terrell Revised: 07/29/98 1:45 PM Printed: 07/29/98 1:57 PM Page 441 of 128
Loop CATALOG
Loop Program segment:
block
EndLoop
©
:1! i
Repeatedly executes the statements in block. :Loop
Note that the loop will be executed endlessly, : Rand(6)! die1
unless a Goto or Exit instruction is executed : Rand(6)! die2
within block.
: If die1=6 and die2=6
block is a sequence of statements separated : Goto End
with the “:” character. : i+1! i
:EndLoop
:Lbl End
:Disp "The number of rolls is", i
©
LU MATH/Matrix menu
LU matrix, lMatName, uMatName, pMatName[, tol] [6,12,18;5,14,31;3,8,18]!m1
¸
Calculates the Doolittle LU (lower-upper)
6 12 18
decomposition of a real or complex matrix.
5 14 31
The lower triangular matrix is stored in
lMatName, the upper triangular matrix in
3 8 18
uMatName, and the permutation matrix LU m1,lower,upper,perm ¸ Done
(which describes the row swaps done during
the calculation) in pMatName. 1 0 0
lower 5/6 1 0
1/2 1
¸
lMatName ù uMatName = pMatName ù matrix 1/2
Optionally, any matrix element is treated as 6 12 18
zero if its absolute value is less than tol. This upper 0 4 16
0 1
¸
tolerance is used only if the matrix has 0
floating-point entries and does not contain
1 0 0
any symbolic variables that have not been
perm 0 1 0
0 1
¸
assigned a value. Otherwise, tol is ignored. 0
• If you use ¥ ¸ or set the mode to
Exact/Approx=APPROXIMATE, computations
are done using floating-point arithmetic. m n
[m,n;o,p]!m1 ¸ [ o p]
• If tol is omitted or not used, the default
tolerance is calculated as: LU m1,lower,upper,perm ¸ Done
5Eë 14 ù max(dim(matrix)) 1 0
ù rowNorm(matrix) lower ¸
m
o 1
The LU factorization algorithm uses partial
o p
pivoting with row interchanges.
møp
upper ¸ 0 n ì o
0 1
perm ¸ [ 1 0]
APPX-A.DOC TI-89: Appendix A (US English) Joan Terrell Revised: 07/29/98 1:45 PM Printed: 07/29/98 1:57 PM Page 442 of 128
max() MATH/List menu
max(expression1, expression2) ⇒ expression max(2.3,1.4) ¸ 2.3
max(list1, list2) ⇒ list
max(matrix1, matrix2) ⇒ matrix max({1,2},{ë 4,3}) ¸ {1 3}
mean([1/5,0;L1,3;2/5,L1/2]) ¸
[ë 2/15 5/6]
APPX-A.DOC TI-89: Appendix A (US English) Joan Terrell Revised: 07/29/98 1:45 PM Printed: 07/29/98 1:57 PM Page 443 of 128
MedMed MATH/Statistics/Regressions menu
MedMed list1, list2[, [list3] [, list4, list5]] In function graphing mode:
Calculates the median-median line and {0,1,2,3,4,5,6}! L1 ¸ {0 1 2 ...}
updates all the system statistics variables. {0,2,3,4,3,4,6}! L2 ¸ {0 2 3 ...}
All the lists must have equal dimensions MedMed L1,L2 ¸ Done
except for list5. ShowStat ¸
list1 represents xlist.
list2 represents ylist.
list3 represents frequency.
list4 represents category codes.
list5 represents category include list.
APPX-A.DOC TI-89: Appendix A (US English) Joan Terrell Revised: 07/29/98 1:45 PM Printed: 07/29/98 1:57 PM Page 444 of 128
min() MATH/List menu
min(expression1, expression2) ⇒ expression min(2.3,1.4) ¸ 1.4
min(list1, list2) ⇒ list
min(matrix1, matrix2) ⇒ matrix min({1,2},{ë 4,3}) ¸ {ë 4 2}
MoveVar CATALOG
MoveVar var, oldFolder, newFolder {1,2,3,4}! L1 ¸ {1 2 3 4}
MoveVar L1,Main,Games ¸ Done
Moves variable var from oldFolder to
newFolder. If newFolder does not exist,
MoveVar creates it.
APPX-A.DOC TI-89: Appendix A (US English) Joan Terrell Revised: 07/29/98 1:45 PM Printed: 07/29/98 1:57 PM Page 445 of 128
mRowAdd() MATH/Matrix/Row ops menu
mRowAdd(expression, matrix1, index1, index2) mRowAdd(ë 3,[1,2;3,4],1,2) ¸
⇒ matrix 1 2
[0 L2]
Returns a copy of matrix1 with each element
in row index2 of matrix1 replaced with: mRowAdd(n,[a,b;c,d],1,2) ¸
a b
expression × row index1 + row index2 [aø n+c bø n+d]
nCr(expression, negInteger) ⇒ 0
nCr(expression, posInteger) ⇒
expressionø (expressionì 1)...
(expressionì posInteger+1)/ posInteger!
APPX-A.DOC TI-89: Appendix A (US English) Joan Terrell Revised: 07/29/98 1:45 PM Printed: 07/29/98 1:57 PM Page 446 of 128
NewData CATALOG
NewData dataVar, list1[, list2] [, list3]... NewData mydata,{1,2,3},{4,5,6}
¸
Creates data variable dataVar, where the Done
columns are the lists in order.
(Go to the Data/Matrix Editor and open
Must have at least one list. the var mydata to display the data
list1, list2, ..., listn can be lists as shown, variable below.)
expressions that resolve to lists, or list
variable names.
NewData makes the new variable current in
the Data/Matrix Editor.
NewFold CATALOG
NewFold folderName NewFold games ¸ Done
newList() CATALOG
newList(numElements) ⇒ list newList(4) ¸ {0 0 0 0}
NewPic CATALOG
NewPic matrix, picVar [, maxRow][, maxCol] NewPic [1,1;2,2;3,3;4,4;5,5;
5,1;4,2;2,4;1,5],xpic ¸ Done
Creates a pic variable picVar based on matrix.
matrix must be an n×2 matrix in which each RclPic xpic ¸
row represents a pixel. Pixel coordinates
start at 0,0. If picVar already exists, NewPic
replaces it.
The default for picVar is the minimum area
required for the matrix values. The optional
arguments, maxRow and maxCol, determine
the maximum boundary limits for picVar.
APPX-A.DOC TI-89: Appendix A (US English) Joan Terrell Revised: 07/29/98 1:45 PM Printed: 07/29/98 1:57 PM Page 447 of 128
NewPlot CATALOG
NewPlot n, type, xList [,[yList], [frqList], [catList], FnOff ¸ Done
[includeCatList], [mark] [, bucketSize]] PlotsOff ¸ Done
{1,2,3,4}! L1 ¸ {1 2 3 4}
Creates a new plot definition for plot number n.
{2,3,4,5}! L2 ¸ {2 3 4 5}
type specifies the type of the graph plot. NewPlot 1,1,L1,L2,,,,4 ¸ Done
1 = scatter plot
2 = xyline plot Press ¥ % to display:
3 = box plot
4 = histogram
5 = modified box plot
mark specifies the display type of the mark.
1 = è (box)
2 = × (cross)
3 = + (plus )
4 = é (square)
5 = ø (dot)
bucketSize is the width of each histogram
“bucket” (type = 4), and will vary based on
the window variables xmin and xmax.
bucketSize must be >0. Default = 1.
NewProb CATALOG
NewProb NewProb ¸ Done
APPX-A.DOC TI-89: Appendix A (US English) Joan Terrell Revised: 07/29/98 1:45 PM Printed: 07/29/98 1:57 PM Page 448 of 128
The goal is six significant digits. The adaptive nInt(cos(x),x,ë p,p+1í ë 12) ¸
algorithm terminates when it seems likely ë 1.041...í ë 12
that the goal has been achieved, or when it
seems unlikely that additional samples will ‰(cos(x),x,ë p,p+10^(ë 12)) ¸
yield a worthwhile improvement.
1
ë sin(1000000000000)
A warning is displayed (“Questionable
accuracy”) when it seems that the goal has not ans(1)¥ ¸ ë 1.í ë 12
been achieved.
Nest nInt() to do multiple numeric integration. nInt(nInt(e^(ë xù y)/‡(x^2ì y^2),
Integration limits can depend on integration y,ë x,x),x,0,1) ¸ 3.304...
variables outside them.
Note: See also ‰().
norm([1,2;3,4]) ¸ 30
APPX-A.DOC TI-89: Appendix A (US English) Joan Terrell Revised: 07/29/98 1:45 PM Printed: 07/29/98 1:57 PM Page 449 of 128
nPr() MATH/Probability menu
nPr(expression1, expression2) ⇒ expression nPr(z,3) ¸ zø (zì 2)ø (zì 1)
nPr(expression, posInteger) ⇒
expressionø (expressionì 1)...
(expressionì posInteger+1)
APPX-A.DOC TI-89: Appendix A (US English) Joan Terrell Revised: 07/29/98 1:45 PM Printed: 07/29/98 1:57 PM Page 450 of 128
OneVar MATH/Statistics menu
OneVar list1 [[, list2] [, list3] [, list4]] {0,2,3,4,3,4,6}! L1 ¸
OneVar L1 ¸ Done
Calculates 1-variable statistics and updates
ShowStat ¸
all the system statistics variables.
All the lists must have equal dimensions
except for list4.
list1 represents xlist.
list2 represents frequency.
list3 represents category codes.
list4 represents category include list.
or MATH/Test menu
Boolean expression1 or Boolean expression2 ⇒ x‚3 or x‚4 ¸ x‚3
Boolean expression
Program segment:
Returns true or false or a simplified form of
the original entry. ©
If x<0 or x‚5
Returns true if either or both expressions Goto END
simplify to true. Returns false only if both ©
expressions evaluate to false. If choice=1 or choice=2
Disp "Wrong choice"
Note: See xor. ©
APPX-A.DOC TI-89: Appendix A (US English) Joan Terrell Revised: 07/29/98 1:45 PM Printed: 07/29/98 1:57 PM Page 451 of 128
ord() MATH/String menu
ord(string) ⇒ integer ord("hello") ¸ 104
ord(list1) ⇒ list
char(104) ¸ "h"
Returns the numeric code of the first
character in character string string, or a list ord(char(24)) ¸ 24
of the first characters of each list element.
ord({"alpha","beta"}) ¸
See Appendix B for a complete listing of {97 98}
character codes.
Output CATALOG
Output row, column, exprOrString Program segment:
Displays exprOrString (an expression or ©
character string) on the Program I/O screen :RandSeed 1147
at the text coordinates (row, column). :ClrIO
:For i,1,90,10
An expression can include conversion : Output i, rand(100),"Hello"
operations such as 4DD and 4Rect. You can :EndFor
also use the 4 operator to perform unit and ©
number base conversions.
Result after execution:
If Pretty Print = ON, exprOrString is “pretty
printed.”
From the Program I/O screen, you can press
‡ to display the Home screen, or a program
can use DispHome.
APPX-A.DOC TI-89: Appendix A (US English) Joan Terrell Revised: 07/29/98 1:45 PM Printed: 07/29/98 1:57 PM Page 452 of 128
part() CATALOG
part(expression1[ ,nonNegativeInteger])
Simplifies expression1 and returns the number Note: cos(pù x+3) has one argument.
of top-level arguments or operands. This
returns 0 if expression1 is a number, variable,
or symbolic constant such as p, e, i, or ˆ.
part(expression1, 0) ⇒ string part(cos(pù x+3),0) ¸ "cos"
Simplifies expression1 and returns the n th Note: Simplification changed the order of
argument or operand, where n is > 0 and the argument.
the number of top-level arguments or
operands returned by part(expression1).
Otherwise, an error is returned.
APPX-A.DOC TI-89: Appendix A (US English) Joan Terrell Revised: 07/29/98 1:45 PM Printed: 07/29/98 1:57 PM Page 453 of 128
By combining the variations of part(), you can part(cos(pù x+3)) ¸ 1
extract all of the sub-expressions in the part(cos(pù x+3),0) ¸ "cos"
simplified result of expression1. As shown in
part(cos(pù x+3),1)! temp ¸
the example to the right, you can store an
argument or operand and then use part() to 3+pøx
extract further sub-expressions. temp ¸ pøx+3
Note: When using part(), do not rely on any part(temp,0) ¸ "+"
particular order in sums and products. part(temp) ¸ 2
part(temp,2) ¸ 3
part(temp,1)! temp ¸ pøx
part(temp,0) ¸ "ù "
part(temp) ¸ 2
part(temp,1) ¸ p
part(temp,2) ¸ x
APPX-A.DOC TI-89: Appendix A (US English) Joan Terrell Revised: 07/29/98 1:45 PM Printed: 07/29/98 1:57 PM Page 454 of 128
PassErr CATALOG
PassErr See ClrErr program listing example.
Passes an error to the next level.
If “errornum” is zero, PassErr does not do
anything.
The Else clause in the program should use
ClrErr or PassErr. If the error is to be
processed or ignored, use ClrErr. If what to
do with the error is not known, use PassErr
to send it to the next error handler. (See also
ClrErr.)
Pause CATALOG
Pause [expression] Program segment:
Suspends program execution. If you include ©
expression, displays expression on the Program :ClrIO
I/O screen. :DelVar temp
:1"temp[1]
expression can include conversion operations :1"temp[2]
such as 4DD and 4Rect. You can also use the 4 :Disp temp[2]
operator to perform unit and number base :© Guess the Pattern
conversions. :For i,3,20
: temp[iì2]+temp[iì1]"temp[i]
If the result of expression is too big to fit on a
single screen, you can use the cursor pad to : Disp temp[i]
: Disp temp,"Can you guess the
scroll the display. next","number?"
Program execution resumes when you : Pause
:EndFor
press ¸.
©
PlotsOff CATALOG
PlotsOff [1] [, 2] [, 3] ... [, 9] PlotsOff 1,2,5 ¸ Done
PlotsOn CATALOG
PlotsOn [1] [, 2] [, 3] ... [, 9] PlotsOn 2,4,5 ¸ Done
APPX-A.DOC TI-89: Appendix A (US English) Joan Terrell Revised: 07/29/98 1:45 PM Printed: 07/29/98 1:57 PM Page 455 of 128
4Polar MATH/Matrix/Vector ops menu
vector 4Polar [1,3.] 4Polar ¸
[x,y] 4Polar ¸
Displays vector in polar form [r q]. The
vector must be of dimension 2 and can be a
row or a column.
Note: 4Polar is a display-format instruction,
not a conversion function. You can use it
only at the end of an entry line, and it does
not update ans.
Note: See also 4Rect.
complexValue 4Polar In Radian angle mode:
p
i ( ì tanê(3/4))
Displays complexVector in polar form. 3+4i 4Polar ¸ eø 2 ø5
• Degree angle mode returns (rq). iøp
(4p/3)4Polar ¸ e 3 ø4
• Radian angle mode returns re iq.
complexValue can have any complex form.
However, an re iq entry causes an error in In Degree angle mode:
Degree angle mode. 3+4i 4Polar ¸ (590ì tanê(3/4))
Note: You must use the parentheses for an
(rq) polar entry.
PopUp CATALOG
PopUp itemList, var PopUp
{"1990","1991","1992"},var1
Displays a pop-up menu containing the ¸
character strings from itemList, waits for you
to select an item, and stores the number of
your selection in var.
The elements of itemList must be character
strings: {item1String, item2String,
item3String, ...}
APPX-A.DOC TI-89: Appendix A (US English) Joan Terrell Revised: 07/29/98 1:45 PM Printed: 07/29/98 1:57 PM Page 456 of 128
PowerReg MATH/Statistics/Regressions menu
PowerReg list1, list2[, [list3] [, list4, list5]] In function graphing mode:
Calculates the power regression and updates {1,2,3,4,5,6,7}! L1 ¸
all the system statistics variables. {1 2 3 ...}
All the lists must have equal dimensions {1,2,3,4,3,4,6}! L2 ¸
except for list5. {1 2 3 ...}
PowerReg L1,L2 ¸ Done
list1 represents xlist.
ShowStat ¸
list2 represents ylist.
list3 represents frequency.
list4 represents category codes.
list5 represents category include list.
Prgm CATALOG
Prgm Program segment:
©
EndPrgm :prgmname()
:Prgm
Required instruction that identifies the :
beginning of a program. Last line of program :EndPrgm
must be EndPrgm.
Prompt CATALOG
Prompt var1[, var2] [, var3] ... Program segment:
Displays a prompt on the Program I/O screen ©
for each variable in the argument list, using Prompt A,B,C
the prompt var1?. Stores the entered ©
expression in the corresponding variable. EndPrgm
Prompt must have at least one argument.
APPX-A.DOC TI-89: Appendix A (US English) Joan Terrell Revised: 07/29/98 1:45 PM Printed: 07/29/98 1:57 PM Page 457 of 128
propFrac() MATH/Algebra menu
propFrac(expression1[, var]) ⇒ expression propFrac(4/3) ¸ 1 + 1/3
PtChg CATALOG
PtChg x, y Note: PtChg through PtText show
PtChg xList, yList continuing similar examples.
PtChg 2,4 ¸
Displays the Graph screen and reverses the
screen pixel nearest to window coordinates
(x, y).
PtOff CATALOG
PtOff x, y PtOff 2,4 ¸
PtOff xList, yList
PtOn CATALOG
PtOn x, y PtOn 3,5 ¸
PtOn xList, yList
ptTest() CATALOG
ptTest (x, y) ⇒ Boolean constant expression ptTest(3,5) ¸ true
ptTest (xList, yList) ⇒ Boolean constant expression
APPX-A.DOC TI-89: Appendix A (US English) Joan Terrell Revised: 07/29/98 1:45 PM Printed: 07/29/98 1:57 PM Page 458 of 128
PtText CATALOG
PtText string, x, y PtText "sample",3,5 ¸
PxlChg CATALOG
PxlChg row, col PxlChg 2,4 ¸
PxlChg rowList, colList
PxlCrcl CATALOG
PxlCrcl row, col, r [, drawMode] PxlCrcl 40,80,30,1 ¸
PxlHorz CATALOG
PxlHorz row [, drawMode] PxlHorz 25,1 ¸
PxlLine CATALOG
PxlLine rowStart, colStart, rowEnd, colEnd [, drawMode] PxlLine 50,15,20,90,1 ¸
APPX-A.DOC TI-89: Appendix A (US English) Joan Terrell Revised: 07/29/98 1:45 PM Printed: 07/29/98 1:57 PM Page 459 of 128
PxlOff CATALOG
PxlOff row, col PxlHorz 25,1 ¸
PxlOff rowList, colList PxlOff 25,50 ¸
Displays the Graph screen and turns off the
pixel at pixel coordinates (row, col).
Note: Regraphing erases all drawn items.
25,50
PxlOn CATALOG
PxlOn row, col PxlOn 25,50 ¸
PxlOn rowList, colList
pxlTest() CATALOG
pxlTest (row, col) ⇒ Boolean expression PxlOn 25,50 ¸
pxlTest (rowList, colList) ⇒ Boolean expression "
PxlTest(25,50) ¸ true
Returns true if the pixel at pixel coordinates
(row, col) is on. Returns false if the pixel is off. PxlOff 25,50 ¸
"
Note: Regraphing erases all drawn items. PxlTest(25,50) ¸ false
PxlText CATALOG
PxlText string, row, col PxlText "sample text",20,10
¸
Displays the Graph screen and places
character string string on the screen, starting
at pixel coordinates (row, col).
string is positioned with the upper-left corner
of its first character at the coordinates.
Note: Regraphing erases all drawn items.
PxlVert CATALOG
PxlVert col [, drawMode] PxlVert 50,1 ¸
APPX-A.DOC TI-89: Appendix A (US English) Joan Terrell Revised: 07/29/98 1:45 PM Printed: 07/29/98 1:57 PM Page 460 of 128
QR MATH/Matrix menu
QR matrix, qMatName, rMatName[ , tol] The floating-point number (9.) in m1
causes results to be calculated in floating-
Calculates the Householder QR factorization point form.
of a real or complex matrix. The resulting Q
and R matrices are stored to the specified [1,2,3;4,5,6;7,8,9.]!m1 ¸
MatNames. The Q matrix is unitary. The R 1 2 3
matrix is upper triangular. 4 5 6
7 8 9.
Optionally, any matrix element is treated as
zero if its absolute value is less than tol. This QR m1,qm,rm ¸ Done
tolerance is used only if the matrix has
.123… .904… .408…
floating-point entries and does not contain .492… .301… ë.816…
any symbolic variables that have not been qm ¸
assigned a value. Otherwise, tol is ignored. .861… ë.301… .408…
APPX-A.DOC TI-89: Appendix A (US English) Joan Terrell Revised: 07/29/98 1:45 PM Printed: 07/29/98 1:57 PM Page 461 of 128
¸
Note: list1 through list4 must be a variable
name or c1–c99. (columns in the last data Regeq(x)"y1(x) ¸ Done
variable shown in the Data/Matrix Editor). NewPlot 1,1,L1,L2 ¸ Done
list5 does not have to be a variable name and
¥%
cannot be c1–c99.
APPX-A.DOC TI-89: Appendix A (US English) Joan Terrell Revised: 07/25/98 12:07 PM Printed: 07/25/98 3:06 PM Page 462 of 128
R4Pr() MATH/Angle menu
R4Pr (xExpression, yExpression) ⇒ expression In Radian angle mode:
R4Pr (xList, yList) ⇒ list
R4Pr (xMatrix, yMatrix) ⇒ matrix
R4Pr(3,2) ¸
R4Pr(x,y) ¸
Returns the equivalent r-coordinate of the R4Pr([3,-4,2],[0,pà4,1.5]) ¸
(x,y) pair arguments.
APPX-A.DOC TI-89: Appendix A (US English) Joan Terrell Revised: 07/25/98 12:07 PM Printed: 07/25/98 3:06 PM Page 463 of 128
RclGDB CATALOG
RclGDB GDBvar RclGDB GDBvar ¸ Done
RclPic CATALOG
RclPic picVar [, row, column]
APPX-A.DOC TI-89: Appendix A (US English) Joan Terrell Revised: 07/25/98 12:07 PM Printed: 07/25/98 3:06 PM Page 464 of 128
complexValue 4Rect In Radian angle mode:
p
Displays complexValue in rectangular form 4e^(p/3)4Rect ¸ 4øe 3
a+bi. The complexValue can have any complex
form. However, an re iq entry causes an error (4p/3)4Rect ¸ 2+2ø 3øi
in Degree angle mode.
Note: You must use parentheses for an (rq)
polar entry. In Degree angle mode:
(460)4Rect ¸ 2+2ø 3øi
APPX-A.DOC TI-89: Appendix A (US English) Joan Terrell Revised: 07/25/98 12:07 PM Printed: 07/25/98 3:06 PM Page 465 of 128
Rename CATALOG
Rename oldVarName, newVarName {1,2,3,4}! L1 ¸ {1,2,3,4}
Rename L1, list1 ¸ Done
Renames the variable oldVarName as
list1 ¸ {1,2,3,4}
newVarName.
Request CATALOG
Request promptString, var Request "Enter Your Name",str1
¸
If Request is inside a Dialog...EndDlog
construct, it creates an input box for the user
to type in data. If it is a stand-alone
instruction, it creates a dialog box for this
input. In either case, if var contains a string, it
is displayed and highlighted in the input box
as a default choice. promptString must be { 20
characters.
This instruction can be stand-alone or part of
a dialog construct.
Return CATALOG
Return [expression] Define factoral(nn)=Func
:local answer,count:1! answer
Returns expression as the result of the :For count,1,nn
function. Use within a Func...EndFunc block, :answerù count! answer:EndFor
or Prgm...EndPrgm block. :Return answer:EndFunc ¸ Done
Note: Use Return without an argument to factoral(3) ¸ 6
exit a program.
Note: Enter the text as one long line on the
Home screen (without line breaks).
APPX-A.DOC TI-89: Appendix A (US English) Joan Terrell Revised: 07/25/98 12:07 PM Printed: 07/25/98 3:06 PM Page 466 of 128
If #of Rotations is positive, the rotation is to In Hex base mode:
the left. If #of Rotations is negative, the
rotation is to the right. The default is ë 1 rotate(0h78E) ¸ 0h3C7
(rotate right one bit). rotate(0h78E,ë 2) ¸ 0h800001E3
For example, in a right rotation:
rotate(0h78E,2) ¸ 0h1E38
produces:
0b10000000000000111101011000011010
The result is displayed according to the Base
mode.
rotate(list1[,#ofRotations]) ⇒ list In Dec base mode:
Returns a copy of list1 rotated right or left by rotate({1,2,3,4}) ¸
#of Rotations elements. Does not alter list1. {4 1 2 3}
If #of Rotations is positive, the rotation is to rotate({1,2,3,4},ë 2) ¸
the left. If #of Rotations is negative, the {3 4 1 2}
rotation is to the right. The default is ë 1
(rotate right one element). rotate({1,2,3,4},1) ¸
{2 3 4 1}
APPX-A.DOC TI-89: Appendix A (US English) Joan Terrell Revised: 07/25/98 12:07 PM Printed: 07/25/98 3:06 PM Page 467 of 128
rowAdd() MATH/Matrix/Row ops menu
rowAdd(matrix1, rIndex1, rIndex2) ⇒ matrix rowAdd([3,4;ë 3,ë 2],1,2) ¸
3 4
Returns a copy of matrix1 with row rIndex2 [ 0 2]
replaced by the sum of rows rIndex1 and
rIndex2. rowAdd([a,b;c,d],1,2) ¸
a b
[a+c b+d]
APPX-A.DOC TI-89: Appendix A (US English) Joan Terrell Revised: 07/25/98 12:07 PM Printed: 07/25/98 3:06 PM Page 468 of 128
Optionally, any matrix element is treated as rref([a,b,x;c,d,y]) ¸
zero if its absolute value is less than tol. This
tolerance is used only if the matrix has dø x-bø y
floating-point entries and does not contain 1 0 aø d-bø c
any symbolic variables that have not been
ë (cø x-aø y)
0
assigned a value. Otherwise, tol is ignored.
1 aø d-bø c
• If you use ¥ ¸ or set the mode to
Exact/Approx=APPROXIMATE, computations
are done using floating-point arithmetic.
• If tol is omitted or not used, the default
tolerance is calculated as:
5Eë 14 ù max(dim(matrix1))
ù rowNorm(matrix1)
Send CATALOG
Send list Program segment:
CBL (Calculator-Based Laboratory) ©
instruction. Sends list to the link port. :Send {1,0}
:Send {1,2,1}
©
SendCalc CATALOG
SendCalc var Program segment:
Sends variable var to the link port, where ©
another unit linked to that port can receive :a+b! x
the variable value. The receiving unit must be :SendCalc x
on the Home screen or must execute GetCalc ©
from a program.
If you send from a TI-89 or TI-92 Plus to a
TI-92, an error occurs if the TI-92 executes
GetCalc from a program. In this case, the
sending unit must use SendChat instead.
SendChat CATALOG
SendChat var Program segment:
A general alternative to SendCalc, this is ©
useful if the receiving unit is a TI-92 (or for a :a+b! x
generic "chat" program that allows either a :SendChat x
TI-92 or TI-92 Plus to be used). Refer to ©
SendCalc for more information.
APPX-A.DOC TI-89: Appendix A (US English) Joan Terrell Revised: 07/25/98 12:07 PM Printed: 07/25/98 3:06 PM Page 469 of 128
seq() MATH/List menu
seq(expression, var, low, high[, step]) ⇒ list seq(n^2,n,1,6) ¸
{1 4 9 16 25 36}
Increments var from low through high by an
increment of step, evaluates expression, and seq(1/n,n,1,10,2) ¸
returns the results as a list. The original {1 1/3 1/5 1/7 1/9}
contents of var are still there after seq() is
completed. sum(seq(1àn^2,n,1,10,1)) ¸
setFold() CATALOG
setFold(newfolderName) ⇒ oldfolderString newFold chris ¸ Done
setFold(#oldfoldr) ¸ "chris"
a¸ a
chris\a ¸ 1
setGraph() CATALOG
setGraph(modeNameString, settingString) ⇒ string setGraph("Graph Order","Seq")
¸ "SEQ"
Sets the Graph mode modeNameString to
settingString, and returns the previous setting setGraph("Coordinates","Off")
of the mode. Storing the previous setting lets ¸ "RECT"
you restore it later.
Note: Capitalization and blank spaces are
modeNameString is a character string that optional when entering mode names.
specifies which mode you want to set. It must
be one of the mode names from the table
below.
settingString is a character string that
specifies the new setting for the mode. It
must be one of the settings listed below for
the specific mode you are setting.
APPX-A.DOC TI-89: Appendix A (US English) Joan Terrell Revised: 07/25/98 12:07 PM Printed: 07/25/98 3:06 PM Page 470 of 128
"DE Axes" "Time", "t-vs-y' ", "y-vs-y' ", "y1-vs-y2", "y1-vs-y2' ", "y1'-vs-y2' " 5
Tip: To type a prime symbol ( ' ), press 2 È.
"Solution Method" "RK", "Euler" 5
setMode() CATALOG
setMode(modeNameString, settingString) ⇒ string setMode("Angle","Degree")
setMode(list) ⇒ stringList ¸ "RADIAN"
Sets mode modeNameString to the new setting ‡2
settingString, and returns the current setting
sin(45) ¸ 2
of that mode.
setMode("Angle","Radian")
modeNameString is a character string that ¸ "DEGREE"
specifies which mode you want to set. It must
be one of the mode names from the table ‡2
sin(pà4) ¸ 2
below.
settingString is a character string that setMode("Display Digits",
specifies the new setting for the mode. It "Fix 2") ¸ "FLOAT"
must be one of the settings listed below for p ¥¸ 3.14
the specific mode you are setting.
list contains pairs of keyword strings and setMode ("Display Digits",
will set them all at once. This is "Float") ¸ "FIX 2"
recommended for multiple-mode changes. p ¥¸ 3.141...
The example shown may not work if each of
the pairs is entered with a separate setMode()
setMode ({"Split Screen",
in the order shown.
"Left-Right","Split 1 App",
Use setMode(var) to restore settings saved "Graph","Split 2 App","Table"})
with getMode("ALL")! var. ¸
{"Split 2 App" "Graph"
Note: To set or return information about the "Split 1 App" "Home"
Unit System mode, use setUnits() or getUnits() "Split Screen" "FULL"}
instead of setMode() or getMode().
Note: Capitalization and blank spaces are
optional when entering mode names.
Also, the results in these examples may be
different on your unit.
APPX-A.DOC TI-89: Appendix A (US English) Joan Terrell Revised: 07/25/98 12:07 PM Printed: 07/25/98 3:06 PM Page 471 of 128
"Split 1 App" "Home", "Y= Editor", "Window Editor", "Graph", "Table", "Data/Matrix
Editor", "Program Editor", "Text Editor", "Numeric Solver"
"Split 2 App" "Home", "Y= Editor", "Window Editor", "Graph", "Table", "Data/Matrix
Editor", "Program Editor", "Text Editor", "Numeric Solver"
"Number of Graphs" "1", "2"
"Graph2" "Function", "Parametric", "Polar", "Sequence", "3D", "Diff Equations"
"Exact/Approx" "Auto", "Exact", "Approximate"
"Base" "Dec", "Hex", "Bin"
setTable() CATALOG
setTable(modeNameString, settingString) ⇒ string setTable("Graph <ì >
Table","ON")
Sets the table parameter modeNameString to ¸ "OFF"
settingString, and returns the previous setting
of the parameter. Storing the previous setting setTable("Independent","AUTO")
lets you restore it later. ¸ "ASK"
modeNameString is a character string that ¥&
specifies which parameter you want to set. It
must be one of the parameters from the table
below.
settingString is a character string that
specifies the new setting for the parameter. It
must be one of the settings listed below for
the specific parameter you are setting. Note: Capitalization and blank spaces
are optional when entering parameters.
setUnits() CATALOG
setUnits(list1) ⇒ list All unit names must begin with an
underscore _ ( ¥ ). You can also select
Sets the default units to the values specified units from a menu by pressing 2 9.
in list1, and returns a list of the previous
defaults. setUnits({"SI"}) ¸
{"SI" "Area" "NONE"
• To specify the built-in SI (metric) or "Capacitance" "_F" ...}
ENG/US system, list1 uses the form:
{"SI"} or {"ENG/US"}
setUnits({"CUSTOM","Length",
• To specify a custom set of default units, "_cm","Mass","_gm"}) ¸
list1 uses the form: {"SI" "Length" "_m"
"Mass" "_kg" ...}
{"CUSTOM", "cat1", "unit1" [ , "cat2", "unit2", …]}
Note: Your screen may display different
where each cat and unit pair specifies a units.
category and its default unit. (You can
specify built-in units only, not user-defined
units.) Any category not specified will use
its previous custom unit.
APPX-A.DOC TI-89: Appendix A (US English) Joan Terrell Revised: 07/25/98 12:07 PM Printed: 07/25/98 3:06 PM Page 472 of 128
• To return to the previous custom default
units, list1 uses the form:
{"CUSTOM"}
If you want different defaults depending on
the situation, create separate lists and save
them to unique list names. To use a set of
defaults, specify that list name in setUnits().
You can use setUnits() to restore settings
previously saved with setUnits() ! var or with
getUnits() ! var.
Shade CATALOG
Shade expr1, expr2, [xlow], [xhigh], [pattern], [patRes] In the ZoomTrig viewing window:
Displays the Graph screen, graphs expr1 and Shade cos(x),sin(x) ¸
expr2, and shades areas in which expr1 is less
than expr2. (expr1 and expr2 must be
expressions that use x as the independent
variable.)
xlow and xhigh, if included, specify left and
right boundaries for the shading. Valid inputs
are between xmin and xmax. Defaults are xmin "
and xmax.
ClrDraw ¸ Done
pattern specifies one of four shading patterns: Shade cos(x),sin(x),0,5 ¸
1 = vertical (default)
2 = horizontal
3 = negative-slope 45¡
4 = positive-slope 45¡
patRes specifies the resolution of the shading
patterns:
1= solid shading "
2= 1 pixel spacing (default) ClrDraw ¸ Done
3= 2 pixels spacing Shade cos(x),sin(x),0,5,2 ¸
©
10= 9 pixels spacing
Note: Interactive shading is available on the
Graph screen through the Shade instruction.
Automatic shading of a specific function is
available through the Style instruction. Shade
is not valid in 3D graphing mode. "
ClrDraw ¸ Done
Shade cos(x),sin(x),0,5,2,1
¸
APPX-A.DOC TI-89: Appendix A (US English) Joan Terrell Revised: 07/25/98 12:07 PM Printed: 07/25/98 3:06 PM Page 473 of 128
shift() CATALOG
shift(integer1[,#ofShifts]) ⇒ integer In Bin base mode:
Shifts the bits in a binary integer. You can shift(0b1111010110000110101)
enter integer1 in any number base; it is ¸
converted automatically to a signed, 32-bit 0b111101011000011010
binary form. If the magnitude of integer1 is
shift(256,1) ¸
too large for this form, a symmetric modulo
operation brings it within the range. 0b1000000000
APPX-A.DOC TI-89: Appendix A (US English) Joan Terrell Revised: 07/25/98 12:07 PM Printed: 07/25/98 3:06 PM Page 474 of 128
ShowStat CATALOG
ShowStat {1,2,3,4,5}! L1 ¸ {1 2 3 4 5}
{0,2,6,10,25}! L2 ¸
Displays a dialog box containing the last
computed statistics results if they are still {0 2 6 10 25}
valid. Statistics results are cleared TwoVar L1,L2 ¸
automatically if the data to compute them ShowStat ¸
has changed.
Use this instruction after a statistics
calculation, such as LinReg.
constVector must have the same number of The solution is x=ë 3 and y=2.
rows (same dimension) as coeffMatrix and
contain the constants. Solve: ax + by = 1
Optionally, any matrix element is treated as cx + dy = 2
zero if its absolute value is less than tol. This a b
tolerance is used only if the matrix has [a,b;c,d]! matx1 ¸ [c d]
floating-point entries and does not contain simult(matx1,[1;2]) ¸
any symbolic variables that have not been ë (2ø bì d)
assigned a value. Otherwise, tol is ignored.
aø dì bø c
• If you use ¥ ¸ or set the mode to 2ø aì c
Exact/Approx=APPROXIMATE, computations
are done using floating-point arithmetic.
aø dì bø c
• If tol is omitted or not used, the default
tolerance is calculated as:
5Eë 14 ù max(dim(coeffMatrix))
ù rowNorm(coeffMatrix)
APPX-A.DOC TI-89: Appendix A (US English) Joan Terrell Revised: 07/25/98 12:07 PM Printed: 07/25/98 3:06 PM Page 475 of 128
simult(coeffMatrix, constMatrix[, tol]) ⇒ matrix Solve: x + 2y = 1 x + 2y = 2
3x + 4y = ë 1 3x + 4y = ë 3
Solves multiple systems of linear equations,
where each system has the same equation simult([1,2;3,4],[1,2;ë 1,ë 3])
coefficients but different constants. ¸
sin() 2 W key
sin(expression1) ⇒ expression In Degree angle mode:
sin(list1) ⇒ list
‡2
sin(expression1) returns the sine of the sin((p/4)ô ) ¸ 2
argument as an expression.
sin(list1) returns a list of the sines of all
‡2
sin(45) ¸ 2
elements in list1.
Note: The argument is interpreted as either a ‡3
degree or radian angle, according to the sin({0,60,90}) ¸ {0 2 1}
current angle mode. You can use ó or ô to
override the angle mode setting temporarily. In Radian angle mode:
‡2
sin(p/4) ¸ 2
‡2
sin(45¡) ¸ 2
sinê () ¥ Q key
sinê (expression1) ⇒ expression In Degree angle mode:
sinê (list1) ⇒ list sinê (1) ¸ 90
sinê (expression1) returns the angle whose
sine is expression1 as an expression. In Radian angle mode:
sinê ({0,.2,.5}) ¸
sinê (list1) returns a list of the inverse sines of
each element of list1. {0 .201... .523...}
APPX-A.DOC TI-89: Appendix A (US English) Joan Terrell Revised: 07/25/98 12:07 PM Printed: 07/25/98 3:06 PM Page 476 of 128
sinê(squareMatrix1) ⇒ squareMatrix In Radian angle mode and Rectangular
complex format mode:
Returns the matrix inverse sine of
squareMatrix1. This is not the same as sinê([1,5,3;4,2,1;6,ë 2,1]) ¸
calculating the inverse sine of each element.
ë.164…ì.064…øi
For information about the calculation 1.490…ì 2.105…øi …
method, refer to cos().
.725…ì 1.515…øi .947…ì.778…øi …
squareMatrix1 must be diagonalizable. The 2.083…ì 2.632…øi ë 1.790…+1.271…øi …
result always contains floating-point
numbers.
APPX-A.DOC TI-89: Appendix A (US English) Joan Terrell Revised: 07/25/98 12:07 PM Printed: 07/25/98 3:06 PM Page 477 of 128
SinReg MATH/Statistics/Regressions menu
SinReg list1, list2 [ , [iterations] , [ period] [, list3, list4] ] In function graphing mode:
Calculates the sinusoidal regression and seq(x,x,1,361,30)! L1 ¸
updates all the system statistics variables. {1 31 61 …}
{5.5,8,11,13.5,16.5,19,19.5,17,
All the lists must have equal dimensions 14.5,12.5,8.5,6.5,5.5}! L2 ¸
except for list4.
{5.5 8 11 …}
list1 represents xlist. SinReg L1,L2 ¸ Done
list2 represents ylist. ShowStat ¸
list3 represents category codes.
list4 represents category include list.
Solution candidates might not be real finite ans(1)| a=1 and b=1 and c=1
solutions for some combinations of values for ¸
undefined variables. Error: Non-real result
For the AUTO setting of the Exact/Approx mode, solve((xì a)e^(x)=ë xù (xì a),x)
the goal is to produce exact solutions when ¸
they are concise, and supplemented by iterative x = a or x =ë.567...
searches with approximate arithmetic when
exact solutions are impractical.
Due to default cancellation of the greatest (x+1)(xì 1)/(xì 1)+xì 3 ¸
common divisor from the numerator and 2ø xì 2
denominator of ratios, solutions might be solve(entry(1)=0,x) ¸ x=1
solutions only in the limit from one or both
entry(2)|ans(1) ¸ undef
sides.
limit(entry(3),x,1) ¸ 0
APPX-A.DOC TI-89: Appendix A (US English) Joan Terrell Revised: 07/25/98 12:07 PM Printed: 07/25/98 3:06 PM Page 478 of 128
For the EXACT setting of the Exact/Approx mode, exact(solve((xì a)e^(x)=ë xù
portions that cannot be solved are returned as (xì a),x)) ¸
an implicit equation or inequality.
e x + x = 0 or x = a
Use the “|” operator to restrict the solution In Radian angle mode:
interval and/or other variables that occur in the
equation or inequality. When you find a solution solve(tan(x)=1/x,x)|x>0 and x<1
in one interval, you can use the inequality ¸ x =.860...
operators to exclude that interval from
subsequent searches.
false is returned when no real solutions are solve(x=x+1,x) ¸ false
found. true is returned if solve() can determine
that any finite real value of var satisfies the solve(x=x,x) ¸ true
equation or inequality.
Since solve() always returns a Boolean result, 2xì 11 and solve(x^2ƒ9,x) ¸
you can use “and,” “or,” and “not” to combine x 1 and x ƒ ë 3
results from solve() with each other or with
other Boolean expressions.
Solutions might contain a unique new In Radian angle mode:
undefined variable of the form @nj with j being
an integer in the interval 1–255. Such variables solve(sin(x)=0,x) ¸ x = @n1ø p
designate an arbitrary integer.
In real mode, fractional powers having odd solve(x^(1/3)=ë 1,x) ¸ x = ë1
denominators denote only the real branch.
Otherwise, multiple branched expressions such solve(‡(x)=ë 2,x) ¸ false
as fractional powers, logarithms, and inverse
trigonometric functions denote only the solve(ë ‡(x)=ë 2,x) ¸ x=4
principal branch. Consequently, solve()
produces only solutions corresponding to that
one real or principal branch.
Note: See also cSolve(), cZeros(), nSolve(), and
zeros().
APPX-A.DOC TI-89: Appendix A (US English) Joan Terrell Revised: 07/25/98 12:07 PM Printed: 07/25/98 3:06 PM Page 479 of 128
If all of the equations are polynomials and if
you do NOT specify any initial guesses,
solve() uses the lexical Gröbner/Buchberger
elimination method to attempt to determine
all real solutions.
For example, suppose you have a circle of
radius r at the origin and another circle of
radius r centered where the first circle
crosses the positive x-axis. Use solve() to find
the intersections.
As illustrated by r in the example to the right, solve(x^2+y^2=r^2 and
simultaneous polynomial equations can have (xì r)^2+y^2=r^2,{x,y}) ¸
extra variables that have no values, but r 3ør
represent given numeric values that could be x= and y=
2 2
substituted later. ë 3ør
r
or x= and y=
2 2
You can omit solution variables whose values solve(x^2+y^2=r^2 and
are not of interest, as in the example to the (xì r)^2+y^2=r^2,{x}) ¸
right. r
x=
2
You can also (or instead) include solution solve(x^2+y^2=r^2 and
variables that do not appear in the equations. (xì r)^2+y^2=r^2,{x,y,z}) ¸
For example, you can include z as a solution r 3ør
variable to extend the previous example to x= and y= and z=@1
2 2
two parallel intersecting cylinders of radius r. ë 3ør
r
The cylinder solutions illustrate how families or x= and y= and z=@1
2 2
of solutions might contain arbitrary constants
of the form @k, where k is an integer suffix
from 1 through 255. The suffix resets to 1
when you use ClrHome or ƒ 8:Clear Home.
For polynomial systems, computation time or
memory exhaustion may depend strongly on
the order in which you list solution variables.
If your initial choice exhausts memory or
your patience, try rearranging the variables in
the equations and/or varOrGuess list.
If you do not include any guesses and if any solve(x+e^(z)ù y=1 and
equation is non-polynomial in any variable xì y=sin(z),{x,y}) ¸
but all equations are linear in the solution
variables, solve() uses Gaussian elimination ezøsin(z)+1 ë (sin(z)ì 1
to attempt to determine all real solutions. x= and y=
e z +1 e z +1
APPX-A.DOC TI-89: Appendix A (US English) Joan Terrell Revised: 07/25/98 12:07 PM Printed: 07/25/98 3:06 PM Page 480 of 128
Each solution variable starts at its guessed solve(e^(z)ù y=1 and
value if there is one; otherwise, it starts at ë y=sin(z),{y,z=2p}) ¸
0.0.
y=.001… and z=6.281…
Use guesses to seek additional solutions one
by one. For convergence, a guess may have
to be rather close to a solution.
APPX-A.DOC TI-89: Appendix A (US English) Joan Terrell Revised: 07/25/98 12:07 PM Printed: 07/25/98 3:06 PM Page 481 of 128
stdDev(matrix1) ⇒ matrix stdDev([1,2,5;-3,0,1;.5,.7,3])
¸
Returns a row vector of the standard [2.179... 1.014... 2]
deviations of the columns in matrix1.
Note: matrix1 must have at least two rows.
StoGDB CATALOG
StoGDB GDBvar
Stop CATALOG
Stop Program segment:
Used as a program instruction to stop ©
program execution. For i,1,10,1
If i=5
Stop
EndFor
©
StoPic CATALOG
StoPic picVar [, pxlRow, pxlCol] [, width, height]
APPX-A.DOC TI-89: Appendix A (US English) Joan Terrell Revised: 07/25/98 12:07 PM Printed: 07/25/98 3:06 PM Page 482 of 128
string() MATH/String menu
string(expression) ⇒ string string(1.2345) ¸ "1.2345"
Style CATALOG
Style equanum, stylePropertyString Style 1,"thick" ¸ Done
subMat() CATALOG
subMat(matrix1[, startRow] [, startCol] [, endRow] [1,2,3;4,5,6;7,8,9]! m1 ¸
[, endCol]) ⇒ matrix 1 2 3
4 5 6
Returns the specified submatrix of matrix1. 7 8 9
subMat(m1,2,1,3,2) ¸
Defaults: startRow=1, startCol=1, endRow=last
4 5
row, endCol=last column. [7 8]
subMat(m1,2,2) ¸
5 6
[8 9]
sum(seq(n,n,1,10)) ¸ 55
APPX-A.DOC TI-89: Appendix A (US English) Joan Terrell Revised: 07/25/98 12:07 PM Printed: 07/25/98 3:06 PM Page 483 of 128
switch() CATALOG
switch([integer1]) ⇒ integer
[1+i,2+i;3+i,4+i]! mat3 ¸
1+i 2+i
[3+i 4+i]
1ì i 3ì i
mat3î ¸ [2ì i 4ì i]
APPX-A.DOC TI-89: Appendix A (US English) Joan Terrell Revised: 07/25/98 12:07 PM Printed: 07/25/98 3:06 PM Page 484 of 128
Table CATALOG
Table expression1[, expression2] [, var1] In function graphing mode.
Builds a table of the specified expressions or Table 1.25xù cos(x) ¸
functions.
The expressions in the table can also be
graphed. Expressions entered using the Table
or Graph commands are assigned increasing
function numbers starting with 1. The
expressions can be modified or individually
deleted using the edit functions available Table cos(time),time ¸
when the table is displayed by pressing
† Header. The currently selected functions in
the Y= Editor are temporarily ignored.
To clear the functions created by Table or
Graph, execute the ClrGraph command or
display the Y= Editor.
If the var parameter is omitted, the current
graph-mode independent variable is
assumed. Some valid variations of this
instruction are:
Function graphing: Table expr, x
Parametric graphing: Table xExpr, yExpr, t
Polar graphing: Table expr, q
tan() 2 Y key
tan(expression1) ⇒ expression In Degree angle mode:
tan(list1) ⇒ list
tan((p/4)ô ) ¸ 1
tan(expression1) returns the tangent of the
argument as an expression. tan(45) ¸ 1
tan(list1) returns a list of the tangents of all tan({0,60,90}) ¸
elements in list1. {0 ‡3 undef}
Note: The argument is interpreted as either a In Radian angle mode:
degree or radian angle, according to the
current angle mode. You can use ó or ô to tan(p/4) ¸ 1
override the angle mode temporarily.
tan(45¡) ¸ 1
tan({p,p/3,-p,p/4}) ¸
{0 ‡3 0 1}
APPX-A.DOC TI-89: Appendix A (US English) Joan Terrell Revised: 07/25/98 12:07 PM Printed: 07/25/98 3:06 PM Page 485 of 128
tanê () ¥ S key
tanê (expression1) ⇒ expression In Degree angle mode:
tanê (list1) ⇒ list
tanê (1) ¸ 45
tanê (expression1) returns the angle whose
tangent is expression1 as an expression. In Radian angle mode:
tanê (list1) returns a list of the inverse tanê ({0,.2,.5}) ¸
tangents of each element of list1.
{0 .197... .463...}
Note: The result is returned as either a
degree or radian angle, according to the
current angle mode setting.
tanê(squareMatrix1) ⇒ squareMatrix In Radian angle mode:
Returns the matrix inverse tangent of tanê([1,5,3;4,2,1;6,ë 2,1]) ¸
squareMatrix1. This is not the same as
ë.083… 1.266… .622…
calculating the inverse tangent of each
element. For information about the
calculation method, refer to cos().
.748… .630… ë.070…
1.686… ë 1.182… .455…
squareMatrix1 must be diagonalizable. The
result always contains floating-point
numbers.
APPX-A.DOC TI-89: Appendix A (US English) Joan Terrell Revised: 07/25/98 12:07 PM Printed: 07/25/98 3:06 PM Page 486 of 128
tanhê(squareMatrix1) ⇒ squareMatrix In Radian angle mode and Rectangular
complex format mode:
Returns the matrix inverse hyperbolic
tangent of squareMatrix1. This is not the same tanhê([1,5,3;4,2,1;6,ë 2,1])
as calculating the inverse hyperbolic tangent ¸
of each element. For information about the
ë.099…+.164…øi
.267…ì 1.490…øi …
calculation method, refer to cos().
ë.087…ì.725…øi .479…ì.947…øi …
squareMatrix1 must be diagonalizable. The
result always contains floating-point .511…ì 2.083…øi ë.878…+1.790…øi …
numbers.
APPX-A.DOC TI-89: Appendix A (US English) Joan Terrell Revised: 07/26/98 5:00 PM Printed: 07/26/98 5:01 PM Page 487 of 128
tExpand() MATH\Algebra\Trig menu
tExpand(expression1) ⇒ expression tExpand(sin(3f)) ¸
4ø sin(f)ø (cos(f))ñ ì sin(f)
Returns an expression in which sines and
cosines of integer-multiple angles, angle tExpand(cos(aì b)) ¸
sums, and angle differences are expanded.
Because of the identity (sin(x)) 2+(cos(x))2=1, cos(a)ø cos(b)+sin(a)ø sin(b)
there are many possible equivalent results.
Consequently, a result might differ from a
result shown in other publications.
Sometimes tExpand() will accomplish your
goals when the default trigonometric
simplification does not. tExpand() tends to
reverse transformations done by tCollect().
Sometimes applying tCollect() to a result from
tExpand(), or vice versa, in two separate steps
simplifies an expression.
Note: Degree-mode scaling by p/180
interferes with the ability of tExpand() to
recognize expandable forms. For best results,
tExpand() should be used in Radian mode.
Text CATALOG
Text promptString Text "Have a nice day." ¸
Done
Displays the character string promptString
dialog box.
If used as part of a Dialog...EndDlog block,
promptString is displayed inside that dialog
box. If used as a standalone instruction, Text
creates a dialog box to display the string.
Title CATALOG
Title titleString, [Lbl] Program segment:
Creates the title of a pull-down menu or ©
dialog box when used inside a Toolbar or :Dialog
Custom construct, or a Dialog...EndDlog :Title "This is a dialog
block. box"
:Request "Your name",Str1
Note: Lbl is only valid in the Toolbar :Dropdown "Month you were
construct. When present, it allows the menu born",
choice to branch to a specified label inside seq(string(i),i,1,12),Var1
the program. :EndDlog
©
APPX-A.DOC TI-89: Appendix A (US English) Joan Terrell Revised: 07/26/98 5:00 PM Printed: 07/26/98 5:01 PM Page 488 of 128
tmpCnv() CATALOG
tmpCnv(expression1_¡tempUnit1, _¡tempUnit2) tmpCnv(100_¡c,_¡f) ¸ 212.ø_¡F
⇒ expression _¡tempUnit2
tmpCnv(32_¡f,_¡c) ¸ 0.ø_¡C
Converts a temperature value specified by
expression1 from one unit to another. Valid tmpCnv(0_¡c,_¡k) ¸ 273.15ø_¡K
temperature units are:
tmpCnv(0_¡f,_¡r) ¸ 459.67ø_¡R
_¡C Celsius
_¡F Fahrenheit
_¡K Kelvin
_¡R Rankine Note: To select temperature units from a
menu, press 2 9.
For _ , press ¥ .
For ¡, press 2 “.
_¡F
32 212
@tmpCnv() CATALOG
@tmpCnv(expression1_¡tempUnit1, _¡tempUnit2) To get @, you can press ¥ c ¤ [D]
⇒ expression _¡tempUnit2 (or 2 ¿ 1 5).
Converts a temperature range (the difference @tmpCnv(100_¡c,_¡f) ¸
between two temperature values) specified 180.ø_¡F
by expression1 from one unit to another. Valid
temperature units are: @tmpCnv(180_¡f,_¡c) ¸
100.ø_¡C
_¡C Celsius
_¡F Fahrenheit
@tmpCnv(100_¡c,_¡k) ¸
_¡K Kelvin
_¡R Rankine 100.ø_¡K
APPX-A.DOC TI-89: Appendix A (US English) Joan Terrell Revised: 07/26/98 5:00 PM Printed: 07/26/98 5:01 PM Page 489 of 128
Toolbar CATALOG
Toolbar Program segment:
block
EndTBar ©
:Toolbar
Creates a toolbar menu. : Title "Examples"
: Item "Trig", t
block can be either a single statement or a : Item "Calc", c
sequence of statements separated with the “:” : Item "Stop", Pexit
character. The statements can be either Title :EndTbar
or Item. ©
Items must have labels. A Title must also have Note: When run in a program, this
a label if it does not have an item. segment creates a menu with three
choices that branch to three places in the
program.
Trace CATALOG
Trace
Try CATALOG
Try Program segment:
block1
Else ©
block2 :Try
EndTry : NewFold(temp)
: Else
Executes block1 unless an error occurs. : ©Already exists
Program execution transfers to block2 if an : ClrErr
error occurs in block1. Variable errornum :EndTry
contains the error number to allow the ©
program to perform error recovery.
Note: See ClrErr and PassErr.
block1 and block2 can be either a single
statement or a series of statements separated
with the “:” character.
APPX-A.DOC TI-89: Appendix A (US English) Joan Terrell Revised: 07/26/98 5:00 PM Printed: 07/26/98 5:01 PM Page 490 of 128
TwoVar MATH/Statistics menu
TwoVar list1, list2[, [list3] [, list4, list5]] {0,1,2,3,4,5,6}! L1 ¸
{0 1 2 ...}
Calculates the TwoVar statistics and updates
all the system statistics variables. {0,2,3,4,3,4,6}! L2 ¸
{0 2 3 ...}
All the lists must have equal dimensions TwoVar L1,L2 ¸ Done
except for list5. ShowStat ¸
list1 represents xlist.
list2 represents ylist.
list3 represents frequency.
list4 represents category codes.
list5 represents category include list.
Unarchiv CATALOG
Unarchiv var1 [, var2] [, var3] … 10!arctest ¸ 10
Archive arctest ¸ Done
Moves the specified variables from the user
5ù arctest ¸ 50
data archive memory to RAM.
15!arctest ¸
You can access an archived variable the same
as you would a variable in RAM. However,
you cannot delete, rename, or store to an
archived variable because it is locked
automatically.
To archive variables, use Archive. N
Unarchiv arctest ¸ Done
15!arctest ¸ 15
APPX-A.DOC TI-89: Appendix A (US English) Joan Terrell Revised: 07/26/98 5:00 PM Printed: 07/26/98 5:01 PM Page 491 of 128
variance() MATH/Statistics menu
variance(list) ⇒ expression variance({a,b,c}) ¸
añ -aø (b+c)+bñ -bø c+cñ
Returns the variance of list.
3
Note: list must contain at least two elements.
variance({1,2,5,ë 6,3,ë 2}) ¸
31/2
variance(matrix1) ⇒ matrix variance([1,2,5;ë 3,0,1;
.5,.7,3]) ¸ [4.75 1.03 4]
Returns a row vector containing the variance
of each column in matrix1.
Note: matrix1 must contain at least two
rows.
when() CATALOG
when(condition, trueResult [, falseResult]
[, unknownResult]) ⇒ expression
APPX-A.DOC TI-89: Appendix A (US English) Joan Terrell Revised: 07/26/98 5:00 PM Printed: 07/26/98 5:01 PM Page 492 of 128
While CATALOG
While condition Program segment:
block
EndWhile ©
:1! i
Executes the statements in block as long as :0! temp
condition is true.
:While i<=20
block can be either a single statement or a : temp+1/i! temp
sequence of statements separated with the “:” : i+1! i
character. :EndWhile
:Disp "sum of reciprocals up to
20",temp
©
APPX-A.DOC TI-89: Appendix A (US English) Joan Terrell Revised: 07/26/98 5:00 PM Printed: 07/26/98 5:01 PM Page 493 of 128
XorPic CATALOG
XorPic picVar[, row] [, column]
APPX-A.DOC TI-89: Appendix A (US English) Joan Terrell Revised: 07/26/98 5:00 PM Printed: 07/26/98 5:01 PM Page 494 of 128
As illustrated by r in the example to the right, zeros({x^2+y^2ì r^2,
simultaneous polynomial expressions can (xì r)^2+y^2ì r^2},{x,y}) ¸
have extra variables that have no values, but
represent given numeric values that could be 3ør
substituted later. r
2 2
Each row of the resulting matrix represents r ë 3ør
an alternate zero, with the components 2 2
ordered the same as the varOrGuess list. To
extract a row, index the matrix by [row]. Extract row 2:
ë 3ør
r
ans(1)[2] ¸
2 2
You can omit unknowns whose values are zeros({x^2+y^2ì r^2,
not of interest, as in the example to the right. (xì r)^2+y^2ì r^2},{x}) ¸
r
2
r
2
You can also (or instead) include unknowns zeros({x^2+y^2ì r^2,
that do not appear in the expressions. For (xì r)^2+y^2ì r^2},{x,y,z}) ¸
example, you can include z as an unknown to
extend the previous example to two parallel 3ør
intersecting cylinders of radius r. The r @1
cylinder zeros illustrate how families of zeros 2 2
might contain arbitrary constants in the form r ë 3ør
@k, where k is an integer suffix from 1 2 2
@1
through 255. The suffix resets to 1 when you
use ClrHome or ƒ 8:Clear Home.
For polynomial systems, computation time or
memory exhaustion may depend strongly on
the order in which you list unknowns. If your
initial choice exhausts memory or your
patience, try rearranging the variables in the
expressions and/or varOrGuess list.
If you do not include any guesses and if any zeros({x+e^(z)ù yì 1,xì yì sin(z)}
expression is non-polynomial in any variable ,{x,y}) ¸
but all expressions are linear in the ezøsin(z)+1 ë (sin(z)ì 1)
unknowns, zeros() uses Gaussian elimination
to attempt to determine all real zeros. e z +1 e z +1
If a system is neither polynomial in all of its zeros({e^(z)ùyì1,ëyìsin(z)},
variables nor linear in its unknowns, zeros() {y,z}) ¸
determines at most one zero using an
approximate iterative method. To do so, the [.041… 3.183…]
number of unknowns must equal the number
of expressions, and all other variables in the
expressions must simplify to numbers.
Each unknown starts at its guessed value if
there is one; otherwise, it starts at 0.0.
Use guesses to seek additional zeros one by zeros({e^(z)ù yì 1,ë yì sin(z)},
one. For convergence, a guess may have to {y,z=2p}) ¸
be rather close to a zero.
[.001… 6.281…]
APPX-A.DOC TI-89: Appendix A (US English) Joan Terrell Revised: 07/26/98 5:00 PM Printed: 07/26/98 5:01 PM Page 495 of 128
ZoomBox CATALOG
ZoomBox In function graphing mode:
Displays the Graph screen, lets you draw a 1.25xù cos(x)! y1(x) ¸ Done
box that defines a new viewing window, and ZoomStd:ZoomBox ¸
1st corner
updates the window. 2nd corner
ZoomData CATALOG
ZoomData In function graphing mode:
Adjusts the window settings based on the {1,2,3,4}! L1 ¸ {1 2 3 4}
currently defined plots (and data) so that all {2,3,4,5}! L2 ¸ {2 3 4 5}
statistical data points will be sampled, and newPlot 1,1,L1,L2 ¸ Done
displays the Graph screen. ZoomStd ¸
Note: Does not adjust ymin and ymax for
histograms.
"
ZoomData ¸
APPX-A.DOC TI-89: Appendix A (US English) Joan Terrell Revised: 07/26/98 5:00 PM Printed: 07/26/98 5:01 PM Page 496 of 128
ZoomDec CATALOG
ZoomDec In function graphing mode:
Adjusts the viewing window so that @x and 1.25xù cos(x)! y1(x) ¸ Done
@y = 0.1 and displays the Graph screen with ZoomStd ¸
the origin centered on the screen.
"
ZoomDec ¸
ZoomFit CATALOG
ZoomFit In function graphing mode:
Displays the Graph screen, and calculates the 1.25xù cos(x)! y1(x) ¸ Done
necessary window dimensions for the ZoomStd ¸
dependent variables to view all the picture
for the current independent variable settings.
"
ZoomFit ¸
ZoomIn CATALOG
ZoomIn In function graphing mode:
Displays the Graph screen, lets you set a 1.25xù cos(x)! y1(x) ¸ Done
center point for a zoom in, and updates the ZoomStd:ZoomIn ¸
viewing window.
The magnitude of the zoom is dependent on
the Zoom factors xFact and yFact. In 3D Graph
mode, the magnitude is dependent on xFact,
yFact, and zFact.
APPX-A.DOC TI-89: Appendix A (US English) Joan Terrell Revised: 07/26/98 5:00 PM Printed: 07/26/98 5:01 PM Page 497 of 128
ZoomInt CATALOG
ZoomInt In function graphing mode:
Displays the Graph screen, lets you set a 1.25xù cos(x)! y1(x) ¸ Done
center point for the zoom, and adjusts the ZoomStd:ZoomInt ¸
window settings so that each pixel is an
integer in all directions.
ZoomOut CATALOG
ZoomOut In function graphing mode:
Displays the Graph screen, lets you set a 1.25xù cos(x)! y1(x) ¸ Done
center point for a zoom out, and updates the ZoomStd:ZoomOut ¸
viewing window.
The magnitude of the zoom is dependent on
the Zoom factors xFact and yFact. In 3D Graph
mode, the magnitude is dependent on xFact,
yFact, and zFact.
ZoomPrev CATALOG
ZoomPrev
ZoomRcl CATALOG
ZoomRcl
APPX-A.DOC TI-89: Appendix A (US English) Joan Terrell Revised: 07/26/98 5:00 PM Printed: 07/26/98 5:01 PM Page 498 of 128
ZoomSqr CATALOG
ZoomSqr In function graphing mode:
Displays the Graph screen, adjusts the x or y 1.25xù cos(x)! y1(x) ¸ Done
window settings so that each pixel represents ZoomStd ¸
an equal width and height in the coordinate
system, and updates the viewing window.
In 3D Graph mode, ZoomSqr lengthens the
shortest two axes to be the same as the
longest axis.
"
ZoomSqr ¸
ZoomStd CATALOG
ZoomStd In function graphing mode:
Sets the window variables to the following 1.25xù cos(x)! y1(x) ¸ Done
standard values, and then updates the ZoomStd ¸
viewing window.
Function graphing:
x: [ë 10, 10, 1], y: [ë 10, 10, 1] and xres=2
Parametric graphing:
t: [0, 2p, p/24], x: [ë 10, 10, 1], y:[ë 10, 10, 1]
Polar graphing:
q: [0, 2p, p/24], x: [ë 10, 10, 1], y: [ë 10, 10, 1]
Sequence graphing:
nmin=1, nmax=10, plotStrt=1, plotStep=1,
x: [ë 10, 10, 1], y: [ë 10, 10, 1]
3D graphing:
eyeq°=20, eyef°=70, eyeψ°=0
x: [ë 10, 10, 14], y: [ë 10, 10, 14],
z: [ë 10, 10], ncontour=5
ZoomSto CATALOG
ZoomSto
APPX-A.DOC TI-89: Appendix A (US English) Joan Terrell Revised: 07/26/98 5:00 PM Printed: 07/26/98 5:01 PM Page 499 of 128
ZoomTrig CATALOG
ZoomTrig In function graphing mode:
Displays the Graph screen, sets @x to p/24, 1.25xù cos(x)! y1(x) ¸ Done
and xscl to p/2, centers the origin, sets the y ZoomStd ¸
settings to [ë 4, 4, .5], and updates the viewing
window.
"
ZoomTrig ¸
+ (add) « key
expression1 + expression2 ⇒ expression 56 ¸ 56
ans(1)+4 ¸ 60
Returns the sum of expression1 and ans(1)+4 ¸ 64
expression2.
ans(1)+4 ¸ 68
ans(1)+4 ¸ 72
ì (subtract) | key
expression1 - expression2 ⇒ expression 6ì 2 ¸ 4
Returns expression1 minus expression2. 5ø p
pì pà6 ¸ 6
APPX-A.DOC TI-89: Appendix A (US English) Joan Terrell Revised: 07/26/98 5:00 PM Printed: 07/26/98 5:01 PM Page 500 of 128
list1 - list2 ⇒ list {22,p,pà2}ì {10,5,pà2} ¸
matrix1 - matrix2 ⇒ matrix {12 pì 5 0}
Subtracts each element in list2 (or matrix2) [3,4]ì [1,2] ¸ [2 2]
from the corresponding element in list1 (or
matrix1), and returns the results.
ù (multiply) p key
expression1 ù expression2 ⇒ expression 2ù 3.45 ¸ 6.9
APPX-A.DOC TI-89: Appendix A (US English) Joan Terrell Revised: 07/26/98 5:00 PM Printed: 07/26/98 5:01 PM Page 501 of 128
à (divide) e key
expression1 à expression2 ⇒ expression 2/3.45 ¸ .57971
ë 0b100101 ¸
0b11111111111111111111111111011011
ans(1) 4dec ¸ ë 37
APPX-A.DOC TI-89: Appendix A (US English) Joan Terrell Revised: 07/26/98 5:00 PM Printed: 07/26/98 5:01 PM Page 502 of 128
= (equal) Á key
expression1 = expression2 ⇒ Boolean expression Example function listing using math test
list1 = list2 ⇒ Boolean list symbols: =, ƒ, <, , >, ‚
matrix1 = matrix2 ⇒ Boolean matrix
:g(x)
Returns true if expression1 is determined to :Func
be equal to expression2. :If xë 5 Then
Returns false if expression1 is determined to : Return 5
: ElseIf x>ë 5 and x<0 Then
not be equal to expression2.
: Return ë x
Anything else returns a simplified form of the : ElseIf x‚0 and xƒ10 Then
equation. : Return x
: ElseIf x=10 Then
For lists and matrices, returns comparisons : Return 3
element by element. :EndIf
:EndFunc
Graph g(x) ¸
< 2 Â key
expression1 < expression2 ⇒ Boolean expression See "=" (equal) example.
list1 < list2 ⇒ Boolean list
matrix1 < matrix2 ⇒ Boolean matrix
APPX-A.DOC TI-89: Appendix A (US English) Joan Terrell Revised: 07/26/98 5:00 PM Printed: 07/26/98 5:01 PM Page 503 of 128
<= 2 Â Á keys
expression1 <= expression2 ⇒ Boolean expression See "=" (equal) example.
list1 <= list2 ⇒ Boolean list
matrix1 <= matrix2 ⇒ Boolean matrix
> 2 Ã key
expression1 > expression2 ⇒ Boolean expression See "=" (equal) example.
list1 > list2 ⇒ Boolean list
matrix1 > matrix2 ⇒ Boolean matrix
>= 2 Ã Á keys
expression1 >= expression2 ⇒ Boolean expression See "=" (equal) example.
list1 >= list2 ⇒ Boolean list
matrix1 >= matrix2 ⇒ Boolean matrix
APPX-A.DOC TI-89: Appendix A (US English) Joan Terrell Revised: 07/26/98 5:00 PM Printed: 07/26/98 5:01 PM Page 504 of 128
.. (dot subt.) ¶ | keys
matrix1 .ì matrix2 ⇒ matrix [a,2;b,3].ì [c,4;d,5] ¸
expression .ì matrix1 ⇒ matrix x.ì [c,4;d,5] ¸
matrix1 .ì matrix2 returns a matrix that is the
difference between each pair of
corresponding elements in matrix1 and
matrix2.
! (factorial) ¥ e key
expression1! ⇒ expression 5! ¸ 120
list1! ⇒ list
matrix1! ⇒ matrix {5,4,3}! ¸ {120 24 6}
Returns the factorial of the argument. 1 2
[1,2;3,4]! ¸ [6 24]
For a list or matrix, returns a list or matrix of
factorials of the elements.
The TI-89 computes a numeric value for only
non-negative whole-number values.
APPX-A.DOC TI-89: Appendix A (US English) Joan Terrell Revised: 07/26/98 5:00 PM Printed: 07/26/98 5:01 PM Page 505 of 128
& (append) ¥ p key
string1 & string2 ⇒ string "Hello " & "Nick" ¸
"Hello Nick"
Returns a text string that is string2 appended
to string1.
‰() returns itself for pieces of expression1 that ‰(bù e^(ë x^2)+a/(x^2+a^2),x)
it cannot determine as an explicit finite ¸
combination of its built-in functions and
operators.
When lower and upper are both present, an
attempt is made to locate any discontinuities
or discontinuous derivatives in the interval
lower < var < upper and to subdivide the
interval at those places.
For the AUTO setting of the Exact/Approx
mode, numerical integration is used where
applicable when an anti-derivative or a limit
cannot be determined.
For the APPROX setting, numerical ‰(e^(ë x^2),x,ë 1,1)¥ ¸ 1.493...
integration is tried first, if applicable. Anti-
derivatives are sought only where such
numerical integration is inapplicable or fails.
APPX-A.DOC TI-89: Appendix A (US English) Joan Terrell Revised: 07/26/98 5:00 PM Printed: 07/26/98 5:01 PM Page 506 of 128
‰() can be nested to do multiple integrals. ‰(‰(ln(x+y),y,0,x),x,0,a) ¸
Integration limits can depend on integration
variables outside them.
Note: See also nInt().
pñ
G(1/n^2,n,1,ˆ) ¸ 6
G (expression1, var, low, lowì 1) ⇒ 0 G(k,k,4,3) ¸ 0
APPX-A.DOC TI-89: Appendix A (US English) Joan Terrell Revised: 07/26/98 5:00 PM Printed: 07/26/98 5:01 PM Page 507 of 128
^ (power) Z key
expression1 ^ expression2 ⇒ expression 4^2 ¸ 16
list1 ^ list2 ⇒ list
{a,2,c}^{1,b,3} ¸ {a 2b cò }
Returns the first argument raised to the
power of the second argument.
For a list, returns the elements in list1 raised
to the power of the corresponding elements
in list2.
In the real domain, fractional powers that
have reduced exponents with odd
denominators use the real branch versus the
principal branch for complex mode.
expression ^ list1 ⇒ list 1
p^{a,2,ë 3} ¸ {p a pñ pò }
Returns expression raised to the power of the
elements in list1.
list1 ^ expression ⇒ list {1,2,3,4}^ë 2 ¸
{1 1/4 1/9 1/16}
Returns the elements in list1 raised to the
power of expression.
squareMatrix1 ^ integer ⇒ matrix [1,2;3,4]^2 ¸
[1,2;3,4]^ë 1 ¸
Returns squareMatrix1 raised to the integer
[1,2;3,4]^ë 2 ¸
power.
squareMatrix1 must be a square matrix.
# (indirection) CATALOG
# varNameString Program segment:
Refers to the variable whose name is ©
varNameString. This lets you create and :Request "Enter Your Name",str1
modify variables from a program using :NewFold #str1
strings. ©
©
:For i,1,5,1
: ClrGraph
: Graph iù x
: StoPic #("pic" & string(i))
:EndFor
©
APPX-A.DOC TI-89: Appendix A (US English) Joan Terrell Revised: 07/26/98 5:00 PM Printed: 07/26/98 5:01 PM Page 508 of 128
ô (radian) MATH/Angle menu
expression1ô ⇒ expression In Degree or Radian angle mode:
list1ô ⇒ list
matrix1ô ⇒ matrix ‡2
cos((p/4)ô ) ¸ 2
In Degree angle mode, multiplies expression1
by 180/p. In Radian angle mode, returns cos({0ô,(p/12)ô,ë pô }) ¸
expression1 unchanged.
( 3+1)ø 2
This function gives you a way to use a radian {1 ë 1}
angle while in Degree mode. (In Degree angle 4
mode, sin(), cos(), tan(), and polar-to-
rectangular conversions expect the angle
argument to be in degrees.)
Hint: Use ô if you want to force radians in a
function or program definition regardless of
the mode that prevails when the function or
program is used.
¡ (degree) 2 “ key
expression¡ ⇒ value In Radian angle mode:
list1¡ ⇒ list ‡2
matrix1¡ ⇒ matrix cos(45¡) ¸ 2
In Radian angle mode, multiplies expression cos({0,p/4,90¡,30.12¡}) ¥ ¸
by p/180. In Degree angle mode, returns
{1 .707... 0 .864...}
expression unchanged.
(angle) 2 ’ key
[radius,q_angle] ⇒ vector (polar input) [5,60¡,45¡] ¸
[radius,q_angle,Z_coordinate] ⇒ vector
In Radian mode and vector format set to:
(cylindrical input)
[radius,q_angle,f_angle] ⇒ vector
(spherical input) rectangular
(magnitude angle) ⇒ complexValue (polar input) In Radian angle mode and Rectangular
complex format mode:
Enters a complex value in (rq) polar form.
The angle is interpreted according to the 5+3iì (10p/4) ¸
current Angle mode setting. 5ì 5ø 2+(3ì 5ø 2)øi
¥¸ ë 2.071…ì 4.071…øi
APPX-A.DOC TI-89: Appendix A (US English) Joan Terrell Revised: 07/26/98 5:00 PM Printed: 07/26/98 5:01 PM Page 509 of 128
¡, ', " 2 “ key (¡), 2 È key ('), 2 É key (")
dd¡mm'ss.ss" ⇒ expression In Degree angle mode:
dd A positive or negative number 25°13'17.5" ¸ 25.221...
mm A non-negative number
ss.ss A non-negative number 25°30' ¸ 51/2
Returns dd +(mm /60)+(ss.ss /3600).
This base-60 entry format lets you:
• Enter an angle in degrees/minutes/seconds
without regard to the current angle mode.
• Enter time as hours/minutes/seconds.
_ (underscore) ¥ key
expression_unit 3_m 4 _ft ¸ 9.842…ø_ft
APPX-A.DOC TI-89: Appendix A (US English) Joan Terrell Revised: 07/26/98 5:00 PM Printed: 07/26/98 5:01 PM Page 510 of 128
4 (convert) 2 key
expression_unit1 4 _unit2 ⇒ expression_unit2 3_m 4 _ft ¸ 9.842…ø_ft
10^() CATALOG
10^ (expression1) ⇒ expression 10^(1.5) ¸ 31.622...
10^ (list1) ⇒ list
10^{0,ë 2,2,a} ¸
Returns 10 raised to the power of the 1
argument. {1 100 100 10 a}
xê CATALOG (^ -1)
expression1 xê ⇒ expression 3.1^ë 1 ¸ .322581
list1 xê ⇒ list
{a,4,ë.1,xì 2}^ë 1 ¸
Returns the reciprocal of the argument. 1 1 1
{a 4 ë 10. xì 2}
For a list, returns the reciprocals of the
elements in list1.
squareMatrix1 xê ⇒ squareMatrix [1,2;3,4]^ë 1 ¸
[1,2;a,4]^ë 1 ¸
Returns the inverse of squareMatrix1.
squareMatrix1 must be a non-singular square
matrix.
APPX-A.DOC TI-89: Appendix A (US English) Joan Terrell Revised: 07/26/98 5:00 PM Printed: 07/26/98 5:01 PM Page 511 of 128
| (“with”) Í key
expression | Boolean expression1 [and Boolean x+1| x=3 ¸ 4
expression2]...[and Boolean expressionN]
x+y| x=sin(y) ¸ sin(y) + y
The “with” (|) symbol serves as a binary
operator. The operand to the left of | is an x+y| sin(y)=x ¸ x+y
expression. The operand to the right of |
specifies one or more relations that are
intended to affect the simplification of the
expression. Multiple relations after | must be
joined by a logical “and”.
The “with” operator provides three basic
types of functionality: substitutions, interval
constraints, and exclusions.
Substitutions are in the form of an equality, x^3ì 2x+7! f(x) ¸ Done
such as x=3 or y=sin(x). To be most effective,
the left side should be a simple variable. f(x)| x=‡(3) ¸ ‡3 + 7
expression | variable = value will substitute
value for every occurrence of variable in (sin(x))^2+2sin(x)ì 6| sin(x)=d
expression. ¸
dñ +2dì 6
Interval constraints take the form of one or solve(x^2ì 1=0,x)|x>0 and x<2
more inequalities joined by logical “and” ¸
operators. Interval constraints also permit x=1
simplification that otherwise might be invalid
or not computable. ‡(x)ù ‡(1/x)|x>0 ¸ 1
1
‡(x)ù ‡(1/x) ¸ x ø x
! (store) § key
expression ! var p
list ! var
p/4! myvar ¸ 4
matrix ! var
expression ! fun_name(parameter1,...)
2cos(x)! Y1(x) ¸ Done
list ! fun_name(parameter1,...)
{1,2,3,4}! Lst5 ¸ {1 2 3 4}
matrix ! fun_name(parameter1,...)
APPX-A.DOC TI-89: Appendix A (US English) Joan Terrell Revised: 07/26/98 5:00 PM Printed: 07/26/98 5:01 PM Page 512 of 128
© (comment) ¥ d key or Program Editor/Control menu
© [text] Program segment:
© processes text as a comment line, which ©
can be used to annotate program :© Get 10 points from the Graph
instructions.
screen
© can be at the beginning or anywhere in the
line. Everything to the right of ©, to the end :For i,1,10 © This loops 10
times
of the line, is the comment. ©
APPX-A.DOC TI-89: Appendix A (US English) Joan Terrell Revised: 07/26/98 5:00 PM Printed: 07/26/98 5:01 PM Page 513 of 128
Appendix B:
Reference Information
TI-89 Error Messages.............................................................................. 516
APPX-B.DOC TI-89: Reference Information (US English) Joan Terrell Revised: 08/03/98 1:00 PM Printed: 08/03/98 2:39 PM Page 515 of 30
TI-89 Error Messages
This section lists error messages that may be displayed when input or internal errors are
encountered. The number to the left of each error message represents an internal error
number that is not displayed. If the error occurs inside a Try...EndTry block, the error
number is stored in system variable errornum. Many of the error messages are self-
explanatory and do not require descriptive information. However, additional information
has been added for some error messages.
Error
Number Description
40 Argument error
50 Argument mismatch
Two or more arguments must be of the same type. For example,
PtOn expression1,expression2 and PtOn list1,list2 are both valid, but
PtOn expression,list is a mismatch.
APPX-B.DOC TI-89: Reference Information (US English) Joan Terrell Revised: 07/29/98 2:01 PM Printed: 07/29/98 2:03 PM Page 516 of 30
Error
Number Description
170 Bound
For the interactive graph math functions like 2:Zero, the lower bound must
be less than the upper bound to define the search interval.
180 Break
The ´ key was pressed during a long calculation or during program
execution.
230 Dimension
A list or matrix index is not valid. For example, if the list {1,2,3,4} is stored
in L1, then L1[5] is a dimension error because L1 only contains four
elements.
APPX-B.DOC TI-89: Reference Information (US English) Joan Terrell Revised: 07/29/98 2:01 PM Printed: 07/29/98 2:03 PM Page 517 of 30
Error
Number Description
330 Folder
An attempt was made in the VAR-LINK menu to store a variable in a folder
that does not exist.
APPX-B.DOC TI-89: Reference Information (US English) Joan Terrell Revised: 07/29/98 2:01 PM Printed: 07/29/98 2:03 PM Page 518 of 30
Error
Number Description
APPX-B.DOC TI-89: Reference Information (US English) Joan Terrell Revised: 07/29/98 2:01 PM Printed: 07/29/98 2:03 PM Page 519 of 30
Error
Number Description
670 Memory
673 The calculation required more memory than was available at that time. If
you get this error when you run a large program, you may need to break the
program into separate, smaller programs or functions (where one program
or function calls another).
680 Missing (
APPX-B.DOC TI-89: Reference Information (US English) Joan Terrell Revised: 07/29/98 2:01 PM Printed: 07/29/98 2:03 PM Page 520 of 30
Error
Number Description
690 Missing )
710 Missing ]
720 Missing }
810 Not enough memory to save current variable. Please delete unneeded variables on
the Var-Link screen and re-open editor as current OR re-open editor and use F1 8 to
clear editor.
This error message is caused by very low memory conditions inside the
Data/Matrix Editor.
830 Overflow
APPX-B.DOC TI-89: Reference Information (US English) Joan Terrell Revised: 07/29/98 2:01 PM Printed: 07/29/98 2:03 PM Page 521 of 30
Error
Number Description
895 Slope fields need one selected function and are used for 1st-order equations only
900 Stat
910 Syntax
The structure of the entry is incorrect. For example, x+ì y (x plus minus y)
is invalid; whereas, x+ë y (x plus negative y) is correct.
1010 Zoom
APPX-B.DOC TI-89: Reference Information (US English) Joan Terrell Revised: 07/29/98 2:01 PM Printed: 07/29/98 2:03 PM Page 522 of 30
Error
Number Description
APPX-B.DOC TI-89: Reference Information (US English) Joan Terrell Revised: 07/29/98 2:01 PM Printed: 07/29/98 2:03 PM Page 523 of 30
TI-89 Modes
This section describes the modes of the TI-89 and lists the
possible settings of each mode. These mode settings are
displayed when you press 3.
Note: If you use a split screen with Number of Graphs = 2, Graph is for
the top or left part of the screen and Graph 2 is for the bottom or
right part.
Current Folder Specifies the current folder. You can set up multiple folders with
unique configurations of variables, graph databases, programs, etc.
Note: For detailed 1:main Default folder included with the TI-89.
information about using
folders, see Chapter 5. 2: — Other folders are available only if they have been
(custom folders) created by a user.
Display Digits Selects the number of digits. These decimal settings affect only how
results are displayed—you can enter a number in any format.
Internally, the TI-89 retains decimal numbers with 14 significant
digits. For display purposes, such numbers are rounded to a
maximum of 12 significant digits.
APPX-B.DOC TI-89: Reference Information (US English) Joan Terrell Revised: 07/29/98 2:01 PM Printed: 07/29/98 2:03 PM Page 524 of 30
Angle Specifies the units in which angle values are interpreted and
displayed in trig functions and polar/rectangular conversions.
1:RADIAN
2:DEGREE
Exponential Format Specifies which notation format should be used. These formats
affect only how an answer is displayed; you can enter a number in
any format. Numeric answers can be displayed with up to 12 digits
and a 3-digit exponent.
Complex Format Specifies whether complex results are displayed and, if so, their
format.
APPX-B.DOC TI-89: Reference Information (US English) Joan Terrell Revised: 07/29/98 2:01 PM Printed: 07/29/98 2:03 PM Page 525 of 30
Vector Format Determines how 2-element and 3-element vectors are displayed. You
can enter vectors in any of the coordinate systems.
Pretty Print Determines how results are displayed on the Home screen.
p xì3
For example, p 2, , or
2 x
Split Screen Lets you split the screen into two parts. For example, you can
display a graph and see the Y= Editor at the same time (Chapter 14).
APPX-B.DOC TI-89: Reference Information (US English) Joan Terrell Revised: 07/29/98 2:01 PM Printed: 07/29/98 2:03 PM Page 526 of 30
Split 1 App Specifies which application is displayed on the screen.
and ¦ For a full screen, only Split 1 App is active.
Split 2 App
¦ For a split screen, Split 1 App is the top or left part of the screen
and Split 2 App is the bottom or right part.
The available application choices are those listed when you press B
from the Page 2 mode screen or when you press O. You must have
different applications in each screen unless you are in 2-graph mode.
Number of Graphs Specifies whether both parts of a split screen can display graphs at
the same time.
Graph 2 Specifies the type of graphs that you can plot for the second graph
on a two-graph split screen. This is active only when Number of
Graphs = 2. In this two-graph setting, Graph sets the type of graph for
the top or left part of the split screen, and Graph 2 sets the bottom or
right part. The available choices are the same as for Graph.
APPX-B.DOC TI-89: Reference Information (US English) Joan Terrell Revised: 07/29/98 2:01 PM Printed: 07/29/98 2:03 PM Page 527 of 30
Base Lets you perform calculations by entering numbers in decimal,
binary, or hexadecimal form.
Unit System Lets you enter a unit for values in an expression, such as 6_m * 4_m
or 23_m/_s * 10_s, convert values from one unit to another within the
same category, and create your own user-defined units.
APPX-B.DOC TI-89: Reference Information (US English) Joan Terrell Revised: 07/29/98 2:01 PM Printed: 07/29/98 2:03 PM Page 528 of 30
TI-89 Character Codes
The char() function lets you refer to any character by its numeric character code. For
example, to display 2 on the Program I/O screen, use Disp char(127). You can use
ord() to find the numeric code of a character. For example, ord("A") returns 65.
APPX-B.DOC TI-89: Reference Information (US English) Joan Terrell Revised: 07/29/98 2:01 PM Printed: 07/29/98 2:03 PM Page 529 of 30
TI-89 Key Map
The getKey() function returns a number that corresponds to the last key pressed,
according to the tables shown in this section. For example, if your program contains a
getKey() function, pressing 2 ˆ will return a value of 273.
Key Modifier
None ¤ 2 ¥ j
Assoc. Value Assoc. Value Assoc. Value Assoc. Value Assoc. Value
ƒ F1 268 F1 268 F6 273 Y= 8460 F1 268
„ F2 269 F2 269 F7 274 WINDOW 8461 F2 269
… F3 270 F3 270 F8 275 GRAPH 8462 F3 270
† F4 271 F4 271 F4 271 TblSet 8463 F4 271
‡ F5 272 F5 272 F5 272 TABLE 8464 F5 272
¥ COPY 24576 CUT 12288
j a-lock
N ESC 264 ESC 264 QUIT 4360 PASTE 8456 ESC 264
O APPS 265 APPS 265 SWITCH 4361 8457 APPS 265
" HOME 277 HOME 277 CUST 4373 HOME 277 HOME 277
3 MODE 266 MODE 266 4 18 _ 95 MODE 266
½ CATLG 278 CATLG 278 i 151 ∞ 190 CATLG 278
0 BS 257 BS 257 INS 4353 DEL 8449 BS 257
M CLEAR 263 CLEAR 263 CLEAR 263 8455 CLEAR 263
Ù x 120 X 88 LN 4184 ex 8280 x 120
Ú y 121 Y 89 SIN 4185 SIN-1 8281 y 121
Û z 122 Z 90 COS 4186 COS-1 8282 z 122
Ü t 116 T 84 TAN 4180 TAN-1 8276 t 116
Z ^ 94 ^ 94 π 140 θ 136 ^ 94
Í | 124 F 70 ° 176 Format d/b 8316 f 102
c ( 40 B 66 { 123 b 98
d ) 41 C 67 } 125 169 c 99
b , 44 D 68 [ 91 8236 d 100
e / 47 E 69 ] 93 ! 33 e 101
p * 42 J 74 ‡ 4138 & 38 j 106
| - 45 O 79 VAR-LNK 4141 Contr. - o 111
« + 43 U 85 CHAR 4139 Contr. + u 117
APPX-B.DOC TI-89: Reference Information (US English) Joan Terrell Revised: 07/29/98 2:01 PM Printed: 07/29/98 2:03 PM Page 530 of 30
Table 1: Key Values for Primary Keys (Continued)
Key Modifier
None ¤ 2 ¥ j
Assoc. Value Assoc. Value Assoc. Value Assoc. Value Assoc. Value
¸ CR 13 CR 13 ENTRY 4109 APPROX 8205 CR 13
§ STO4 258 P 80 RCL 4354 @ 64 p 112
Á = 61 A 65 ' 39 ƒ 157 a 97
^ EE 149 K 75 ∠ 159 SYMB 8341 k 107
· - 173 SPACE 32 ANS 4372 8365 SPACE 32
¶ . 46 W 87 > 62 ‚ 158 w 119
µ 0 48 V 86 < 60 156 v 118
¨ 1 49 Q 81 " 34 8241 q 113
© 2 50 R 82 \ 92 8242 r 114
ª 3 51 S 83 UNITS 4147 8243 s 115
y 4 52 L 76 : 58 8244 l 108
z 5 53 M 77 MATH 4149 8245 m 109
{ 6 54 N 78 MEM 4150 8246 n 110
m 7 55 G 71 ∫ 4151 8247 g 103
n 8 56 H 72 d 4152 8248 h 104
o 9 57 I 73 ; 59 8249 i 105
APPX-B.DOC TI-89: Reference Information (US English) Joan Terrell Revised: 07/29/98 2:01 PM Printed: 07/29/98 2:03 PM Page 531 of 30
Table 3: Greek Letters (prefixed by ¥ c)
Keys Second modifier
j ¤
Assoc. Value Assoc. Value
Á [A] α 128
c [B] β 129
b [D] δ 133 ∆ 132
e [E] ε 134
Í [F] φ 145
m [G] γ 131 Γ 130
y [L] λ 137
z [M] µ 181
§ [P] π 140 Π 139
© [R] ρ 141
ª [S] σ 143 Σ 142
Ü [T] τ 144
¶ [W] ω 148 Ω 147
Ù ξ 138
Ú ψ 146
Û ζ 135
APPX-B.DOC TI-89: Reference Information (US English) Joan Terrell Revised: 07/29/98 2:01 PM Printed: 07/29/98 2:03 PM Page 532 of 30
Entering Complex Numbers
You can enter complex numbers in the polar form (rq), where
r is the magnitude and q is the angle, or polar form r e i q. You
can also enter complex numbers in rectangular form a+bi
Overview of A complex number has real and imaginary components that identify
Complex Numbers a point in the complex plane. These components are measured along
the real and imaginary axes, which are similar to the x and y axes in
the real plane.
Imaginary
The point can be expressed in a Expressed as
rectangular form or in either of a+bi, r e i q , or
two polar forms. (rq)
r b
The i symbol represents the
imaginary number À L1 . θ
Real
As shown below, the form that you can enter depends on the current
Angle mode.
You can use the form: When the Angle mode setting is:
a+bi Radian or Degree
For example:
APPX-B.DOC TI-89: Reference Information (US English) Joan Terrell Revised: 07/29/98 2:01 PM Printed: 07/29/98 2:03 PM Page 533 of 30
To enter the: Do this:
Important: Do not use the Polar form Substitute the applicable values or variable
r e i q polar form in Degree re iq names for r and q, where q is interpreted
angle mode. It will cause a
Domain error.
– or – according to the Angle mode setting.
(rq)
j [R] ¥ s 2 ) ¥ q d
Note: To get the e symbol,
press ¥ s. Do not – or –
Parentheses are
simply type j [E]. required for the
c j [R] 2 ’ ¥ q d
(rq) form.
Tip: To get the symbol, For example:
press 2 ’.
APPX-B.DOC TI-89: Reference Information (US English) Joan Terrell Revised: 07/29/98 2:01 PM Printed: 07/29/98 2:03 PM Page 534 of 30
Using Complex Regardless of the Complex Format mode setting, undefined variables
Variables in are treated as real numbers. To perform complex symbolic analysis,
Symbolic you can use either of the following methods to set up a complex
Calculations variable.
Then z is treated as a
complex variable.
APPX-B.DOC TI-89: Reference Information (US English) Joan Terrell Revised: 07/29/98 2:01 PM Printed: 07/29/98 2:03 PM Page 535 of 30
Accuracy Information
Graphing Accuracy The Window variable xmin is the center of the leftmost pixel used,
and xmax is the center of the rightmost pixel used. @x is the distance
between the centers of two horizontally adjacent pixels.
Note: For a table that lists ¦ @x is calculated as (xmax ì xmin) / (# of x pixels ì 1).
the number of pixels in a full
screen or split screen, refer ¦ If @x is entered from the Home screen or a program, xmax is
to “Setting and Exiting the calculated as xmin + @x ù (# of x pixels ì 1).
Split Screen Mode” in
Chapter 14. The Window variable ymin is the center of the bottom pixel used, and
ymax is the center of the top pixel used. @y is the distance between
the centers of two vertically adjacent pixels.
¦ @y is calculated as (ymax ì ymin) / (# of y pixels ì 1).
¦ If @y is entered from the Home screen or a program, ymax is
calculated as ymin + @y ù (# of y pixels ì 1).
Cursor coordinates are displayed as eight characters (which may
include a negative sign, decimal point, and exponent). The
coordinate values (xc, yc, zc, etc.) are updated with a maximum of
12-digit accuracy.
APPX-B.DOC TI-89: Reference Information (US English) Joan Terrell Revised: 07/29/98 2:01 PM Printed: 07/29/98 2:03 PM Page 536 of 30
System Variables and Reserved Names
Statistics x y Gx sx
Gx2 Gxy Gy sy
Gy 2 corr maxX maxY
medStat medx1 medx2 medx3
medy1 medy2 medy3 minX
minY nStat q1 q3
regCoef* regEq(x)* seed1 seed2
Sx Sy R2
APPX-B.DOC TI-89: Reference Information (US English) Joan Terrell Revised: 07/29/98 2:01 PM Printed: 07/29/98 2:03 PM Page 537 of 30
EOSé (Equation Operating System) Hierarchy
APPX-B.DOC TI-89: Reference Information (US English) Joan Terrell Revised: 07/29/98 2:01 PM Printed: 07/29/98 2:03 PM Page 538 of 30
Indirection The indirection operator (#) converts a string to a variable or
function name. For example, #(“x”&”y”&”z”) creates the variable name
xyz. Indirection also allows the creation and modification of
variables from inside a program. For example, if 10!r and “r”!s1, then
#s1=10.
Post Operators Post operators are operators that come directly after an argument,
such as 5!, 25%, or 60ó15' 45". Arguments followed by a post operator
are evaluated at the fourth priority level. For example, in the
expression 4^3!, 3! is evaluated first. The result, 6, then becomes the
exponent of 4 to yield 4096.
Exponentiation Exponentiation (^) and element-by-element exponentiation (.^) are
evaluated from right to left. For example, the expression 2^3^2 is
evaluated the same as 2^(3^2) to produce 512. This is different from
(2^3)^2, which is 64.
Constraint (|) The argument following the “with” (|) operator provides a set of
constraints that affect the evaluation of the argument preceding the
“with” operator.
APPX-B.DOC TI-89: Reference Information (US English) Joan Terrell Revised: 07/29/98 2:01 PM Printed: 07/29/98 2:03 PM Page 539 of 30
Regression Formulas
APPX-B.DOC TI-89: Reference Information (US English) Joan Terrell Revised: 07/29/98 2:01 PM Printed: 07/29/98 2:03 PM Page 540 of 30
Regression Description
LnReg Uses the least-squares algorithm and transformed
values ln(x) and y to fit the model equation:
y=a+b ln(x)
Logistic Uses the least-squares algorithm to fit the model
equation:
y=c/(1+a e ì bx)
MedMed Uses the median-median line (resistant line)
technique to calculate summary points x1, y1, x2, y2,
x3, and y3, and fits the model equation:
y=ax+b
where a is the slope and b is the y-intercept.
PowerReg Uses the least-squares algorithm and transformed
values ln(x) and ln(y) to fit the model equation:
y=ax b
QuadReg Uses the least-squares algorithm to fit the second-
order polynomial:
y=ax 2+bx+c
For three data points, the equation is a polynomial fit;
for four or more, it is a polynomial regression. At
least three data points are required.
QuartReg Uses the least-squares algorithm to fit the fourth-
order polynomial:
y=ax 4+bx3+cx2+dx+e
For five data points, the equation is a polynomial fit;
for six or more, it is a polynomial regression. At least
five data points are required.
SinReg Uses the least-squares algorithm to fit the model
equation:
y=a sin(bx+c)+d
APPX-B.DOC TI-89: Reference Information (US English) Joan Terrell Revised: 07/29/98 2:01 PM Printed: 07/29/98 2:03 PM Page 541 of 30
Contour Levels and Implicit Plot Algorithm
Algorithm Based on your x and y Window variables, the distance between xmin
and xmax and between ymin and ymax is divided into a number of grid
lines specified by xgrid and ygrid. These grid lines intersect to form a
series of rectangles.
z 1 =f(x 1 ,y 1 ) z 3 =f(x 2 ,y 1 )
For each rectangle, the equation is
evaluated at each of the four E
corners (also called vertices or
grid points) and an average value
(E) is calculated: z 4 =f(x 2 ,y 2 )
z 2 =f(x 1 ,y 2 )
z1 + z2 + z3 + z4
E=
4
The E value is treated as the value of the equation at the center of the
rectangle.
For each specified contour value
(C i):
z 1 ìC i z 3 ìC i
¦ At each of the five points
EìC i
shown to the right, the
difference between the point’s
z value and the contour value
is calculated. z 2 ìC i z 4 ìC i
APPX-B.DOC TI-89: Reference Information (US English) Joan Terrell Revised: 07/29/98 2:01 PM Printed: 07/29/98 2:03 PM Page 542 of 30
Runge-Kutta Method
yn+1 = yn + h ( 29 F 1 + 13 F 2 + 49 F 3)
xn+1 = xn + h
F4 = ƒ (xn+1 , yn+1)
APPX-B.DOC TI-89: Reference Information (US English) Joan Terrell Revised: 07/29/98 2:01 PM Printed: 07/29/98 2:03 PM Page 543 of 30
544 Appendix B: Reference Information
APPX-B.DOC TI-89: Reference Information (US English) Joan Terrell Revised: 07/29/98 2:01 PM Printed: 07/29/98 2:03 PM Page 544 of 30
Appendix C:
Service and Warranty Information
Battery Information .............................................................................. 546
In Case of Difficulty .............................................................................. 547
APPX-C.DOC TI-89:Appendix C (US English) Joan Terrell Revised: 08/03/98 1:01 PM Printed: 08/03/98 2:39 PM Page 545 of 6
Battery Information
When to Replace As the AAA batteries run down, the display will begin to dim
the Batteries (especially during calculations). To compensate for this, you will
need to adjust the contrast to a higher setting. If you find it necessary
to increase the contrast setting frequently, you will need to replace
the AAA batteries. To assist you, a BATT indicator ( ) will display
in the status line area when the batteries have drained down to the
Note: To avoid loss of point when you should replace them soon. When the BATT indicator
information stored in is displayed in reverse text ( ), you must replace the AAA
memory, the TI-89 must be
off; also do not remove the batteries immediately.
AAA batteries and the
lithium battery at the same The lithium backup battery is inside the battery compartment, above
time. the AAA batteries. To avoid loss of data, do not remove the lithium
battery unless four fresh AAA batteries are installed. Replace the
lithium backup battery about every three or four years.
Effects of Replacing If you do not remove both types of batteries at the same time or
the Batteries allow them to run down completely, you can change either type of
battery without losing anything in memory.
Replacing the AAA 1. If the calculator is on, turn it off (press 2 ®) to avoid loss of
Batteries information stored in memory.
2. Slide the protective cover over the keyboard.
3. Holding the calculator upright, push down on the battery cover
latch, and then remove the cover.
4. Remove all four discharged AAA batteries.
CAUTION: Dispose of used batteries properly. Do not
incinerate them or leave them within reach of small
children.
5. Install four new AAA alkaline batteries, arranged according to the
polarity (+ and -) diagram inside the battery compartment.
6. Replace the battery cover by inserting the two prongs into the
two slots at the bottom of the battery compartment, and then
push the cover until the latch snaps closed.
Replacing the To replace the lithium backup battery, remove the battery cover and
Lithium Battery unscrew the tiny screw holding the BACK UP BATTERY cover in
place. Install a new CR1616 or CR1620 battery according to the
polarity (+ and -) diagram on the cover. Replace the cover and the
screw.
APPX-C.DOC
APPX-C DOC TI-89:Appendix C (US English) Joan Terrell Revised: 07/29/98 11:57 AM Printed: 07/29/98 2:06 PM Page 546 of 6
In Case of Difficulty
APPX-C.DOC TI-89:Appendix C (US English) Joan Terrell Revised: 07/29/98 11:57 AM Printed: 07/29/98 2:06 PM Page 547 of 6
Information about TI Products, Service, and Warranty
internet address:
http://www.ti.com/calc
One-Year Limited This Texas Instruments electronic product warranty extends only to
Warranty for the original purchaser and user of the product.
Commercial Warranty Duration. This Texas Instruments electronic product is
Electronic Product warranted to the original purchaser for a period of one (1) year from
(for U.S. only) the original purchase date.
Warranty Coverage. This Texas Instruments electronic product is
warranted against defective materials and construction. THIS
WARRANTY IS VOID IF THE PRODUCT HAS BEEN DAMAGED BY
ACCIDENT OR UNREASONABLE USE, NEGLECT, IMPROPER
SERVICE, OR OTHER CAUSES NOT ARISING OUT OF DEFECTS IN
MATERIALS OR CONSTRUCTION.
Warranty Disclaimers. ANY IMPLIED WARRANTIES ARISING OUT OF
THIS SALE, INCLUDING BUT NOT LIMITED TO THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
PARTICULAR PURPOSE, ARE LIMITED IN DURATION TO THE ABOVE
ONE-YEAR PERIOD. TEXAS INSTRUMENTS SHALL NOT BE LIABLE
FOR LOSS OF USE OF THE PRODUCT OR OTHER INCIDENTAL OR
CONSEQUENTIAL COSTS, EXPENSES, OR DAMAGES INCURRED BY
THE CONSUMER OR ANY OTHER USER.
APPX-C.DOC
APPX-C DOC TI-89:Appendix C (US English) Joan Terrell Revised: 07/29/98 11:57 AM Printed: 07/29/98 2:06 PM Page 548 of 6
Some states/provinces do not allow the exclusion or limitation of
implied warranties or consequential damages, so the above
limitations or exclusions may not apply to you.
Legal Remedies. This warranty gives you specific legal rights, and
you may also have other rights that vary from state to state or
province to province.
Warranty Performance. During the above one (1) year warranty
period, your defective product will be either repaired or replaced
with a reconditioned model of an equivalent quality (at TI’s option)
when the product is returned, postage prepaid, to Texas Instruments
Service Facility. The warranty of the repaired or replacement unit
will continue for the warranty of the original unit or six (6) months,
whichever is longer. Other than the postage requirement, no charge
will be made for such repair and/or replacement. TI strongly
recommends that you insure the product for value prior to mailing.
internet address:
http://www.ti.com/calc
APPX-C.DOC TI-89:Appendix C (US English) Joan Terrell Revised: 07/29/98 11:57 AM Printed: 07/29/98 2:06 PM Page 549 of 6
550 Appendix C: Service and Warranty Information
APPX-C.DOC
APPX-C DOC TI-89:Appendix C (US English) Joan Terrell Revised: 07/29/98 11:57 AM Printed: 07/29/98 2:06 PM Page 550 of 6
Index
Commands and functions are in bold text. Mathematical operators and symbols are listed
by their actions. For example, ! is listed as "factorial, !". Actions beginning with a number
are listed as if the number were written in alphabetic characters. For example, "3D" is
listed in the Ts as if it were "three D. "
A B C D E F G H I K L M N O P Q R S T U V W–Z
A C
About screen, 44 Calc menu, 63
absolute value, abs( ) , 380 Calculator-Based
accented letters, 312 Laboratory, CBL, 260, 297, 377
accuracy of the TI-89, 536 Ranger, CBR, 261, 297, 377
Algebra menu, 58 calculus operations, 388
algebraic operations, 60, 388 catalog, basics, 36
alpha rules, 15, 307 CBL, Calculator-Based Laboratory, 260, 297, 377
AndPic, 206 CBR, Calculator-Based Ranger, 261, 297, 377
animating ceiling( ) , 367
3D graph, 152 cell
series of graph pictures, 207 delete, 235
annuity, 382 insert, 235
answer too large, 91 locked, 236
APD (Automatic Power Down), 10 character code
APPS, applications basics, 31 char( ) , 529
archive ord( ) , 529
Archive, 344 characters
garbage collection, 345 accented, 311
memory error, 347 Greek, 312
assembly-language, 301 special, 15
augment( ) , 366 clear graph, ClrGraph, 193, 201, 324
auto-calculate, 237 cobweb plot, 135
automatic tables, 214 columns
axes, 153, 179 category, 258
delete, 235
B frequency, 258
backups, 358 headers, 236
batteries inserting, 234
install, 2 locked, 236
lithium, 546 sort, 239
low indicator, BATT, 11, 546, 547 commands, 19, 387
replace, 11, 546 common denominator, comDenom( ) , 62
begin multi-statement function, Func, 195 compatibility, 355
binary complex
divide, 330 factor, cFactor( ) , 384, 534
limits, 330 numbers, 4, 533
prefix, 329 solution, cSolve( ) , 49, 50, 51, 534
to decimal, 4Dec, 329 surface, 158
to hexadecimal, 4Hex, 329 values, 55
bits, 331 zeros, 158
Bogacki-Shampine, 543 zeros, cZeros( ) , 49, 534
box plot, 254 constants, 71
build data, BldData, 181, 182 defaults, 77
special, 68
contact TI, 548
Index 551
INDEX.DOC TI-89: Index (US English) Joan Terrell Revised: 08/03/98 3:40 PM Printed: 08/03/98 3:41 PM Page 551 of 8
contour differential equations
complex modulus surface, 158 axes, 169
draw, DrwCtour, 157 graphing, 167
levels, 155, 542 solution methods, 181
number of, ncontour, 156 solve, deSolve( ) , 184
plots, 155 tools, 171
contrast, adjust, 2, 11 troubleshooting, 185
conversions display result on Program I/O screen, Disp, 271,
number bases, 329 290, 298, 529
temperature range/value, domain constraints, 57
@tmpCnv( ) / tmpCnv( ) , 74 draw
units, 73 as function, DrawFunc, 200
copy, 83 contour, DrwCtour, 157
coordinates to Home screen, 7 erase, 202
text, 306, 308 inverse, DrawInv, 200
variable, CopyVar, 341 on graph, 201
variables, 240 parametric, DrawParm, 200
correlation coefficients, 251 polar, DrawPol, 200
cumulative sum of list, cumSum( ) , 238 slope, DrawSlp, 203
cursor
free-moving, 104 E
in 3D graph, 148, 152 ellipsis, …, 3, 28, 215
keys, 12 Elself, 195
moving, 12 end multi-statement function, EndFunc, 195,
Custom menu, 30, 291 274
custom off, CustmOff, 30 entry line, 3
custom on, CustmOn, 30 edit, 25, 39
cut, 83 on split screens, 224
text, 308 entry( ) , 40
cycle pictures, CyclePic, 207 EOS, equation operating system, 538
equation
D closed-form, 317
darker/lighter, 2, 11 graphing, 324
data points, 191, 248 hierarchy, 538
Data/Matrix Editor, 191, 227 operating system, EOS, 538
auto-calculate, 237 recall, 320
cell values, 231 storing, 320
column headers, 237 transcendental, 317
cumulative sum of list, cumSum( ) , 238 error
lists as column, 237 circular definition, 277
plots, 246 memory, 67, 347
shift( ) , 238 messages, 516
sorting columns, 239 Euler, 181
statistics, 246 execute op-codes, Exec, 302
debug program, 298 expand( ) , 5, 60, 364, 380
decimal expressions, multiple, 20
to binary, 4Bin, 329 eye, in 3D graphing, 150
to hexadecimal, 4Hex, 329
decompose, 372 F
Define, 65, 85, 118, 130, 145, 184, 192, 195, factor( ) , 4, 5, 49, 60, 365, 384
362 factorial, !, 4
delete folder, DelFold, 89 factory default random-number generator seed,
delete variable, DelVar, 48, 65, 279 RandSeed, 366
derivative, d( ) , 6, 64 Fibonacci, 139
1st-order equation, 174, 184
floating-point, ≈, 22, 39, 49, 50, 51, 53, 536
floor( ) , 367
552 Index
INDEX.DOC TI-89: Index (US English) Joan Terrell Revised: 07/29/98 2:08 PM Printed: 07/29/98 2:08 PM Page 552 of 8
fMax( ) , 49 graphing
fMin( ) , 49 basics, 7, 96
folder, 88 differential equations, 167
delete, 89, 340 draw commands, 200
list, 339 family of curves, 196, 197
lock/unlock, 341 parametric, 118
new, 89, 341 pause/stop, 103
rename, 341 piecewise, 194
set, setFold, 89, 288 polar, 124
transmit, 351 sequences, 129
For, 285 simultaneous, 196
functions, 19, 387 statistical plots, 257
analyze, 110 styles, 154
definition, 87 3D, 145
multi-statement, 86, 195 two-graph mode, 197, 221, 223
nested, 194 Y=Editor, 97
user-defined, 65, 193. See also programming Greek, 312
GUI, graphical user interface, 290
G
garbage collection, 345 H
get keypress, getKey( ) , 530 header, column, 236
GetCalc, 353 help, 547, 548
getType( ) , 47 hexadecimal
Goto, 283 divide, 330
graph, 253 limits, 330
arc length, 113 prefix, 329
axes, 169 to binary, 4Bin, 329
center view, QuickCenter, 106 to decimal, 4Dec, 329
clear, ClrGraph, 201, 324 highlight, 84
coordinates, 104 histogram plot, 255
databases, 208 Home screen, 2, 16
delete picture, 206
draw on, 201 I
format, 102, 125, 132, 147, 168 If, 195
Graph, 190, 193, 196 implicit plots, 159
intervals, 111 tracing, 160
labeling, 204 incompatibility, 355
math tools, 110 input string, InputStr, 280, 353
panning, 106 input/output, 289
points, distance, 113 integer division, intDiv( ) , 330
save as picture, 205 integer part, iPart( ) , 128
shading, 100, 114 integrate, ‰( ) , 6, 49, 50, 51, 64
slope, derivative, d( ) , 112
smart, 103
split screen pixels, 222
K
styles, 100, 119, 124, 131, 145, 152, 159, 167 keyboard, 12
tangent line, 113 map, 311
Trace, 105 keys
two-graph mode, 197, 221, 223 cursor, 12
zoom options, 107 get keypress, getKey( ) , 530
Graph Link, 310, 377 modifier, 13
graphical user interface, GUI, 290 values, 530
graphics operations, 388
Index 553
INDEX.DOC TI-89: Index (US English) Joan Terrell Revised: 07/29/98 2:08 PM Printed: 07/29/98 2:08 PM Page 553 of 8
L N
lab report, 315 negative numbers, 18
label, Lbl, 283 new
large answer, 91 data variable, NewData, 237
last answer, ans( ) , 40 folder, NewFold, 89
lighter/darker, 2, 11 plot definition, NewPlot, 254
limit( ) , 64 problem, NewProb, 35
link, 297 numbers
cancel, 351 complex, 4, 215, 533
errors, 351, 360 negative, 18
units, 350, 358 numeric
list derivative, nDeriv( ) , 66
operations, 388 integration, nInt( ) , 66
list to matrix, list4mat, 237 solver, 319
local variable, Local, 274
O
M ON/OFF, 2, 10
Math operators, 6, 331, 538
menu, 110 output/input, 290
tools, 110
math operations, 389 P
matrix parallelepiped, 368
brackets, 228 parametric graphing, 118
cell values, 231 tools, 120
cell width, 233 paste, 83
Data/Matrix Editor, 227 auto-, 41
definition, 228 folder name, 342
editor, 374 from history, 41
fill from list, list4mat, 237 text, 308
headers, 356 variable name, 342
insert row/column, 234 Pause, 298
operations, 389 pause graph, 103
pretty print, 228 phase-plane orbit, 175
random, randMat, 366 pixel
row reduce, rref( ) , 61, 366 coordinates, 222
single row, 191 line between coordinates, PxlLine, 204
store data points, 191 on, PxlOn, 204
memory, 337 plots
error, 347 clearing, 253
manage, 91 contour, 155
menus, 27 custom, 138, 178
Algebra, 58 data, 246
Calc, 63 implicit, 159, 542
Custom, 30, 291 new definition, NewPlot, 254
Math, 110 statistical, 246, 252
Zoom, 107 time, 178
modes, 33, 524 types, statistical, 254
Display Digits, 24 web, 135
Exact/Approx, 22, 49 polar graphing, 124
Exponential Format, 24 tools, 126
Pretty Print, 22 polynomials, 60, 64
modified box plot, 254 predator-prey, 138, 179
multiplication, implied, 19, 118 pretty print, 7, 22, 228, 526
product code, 357, 358
554 Index
INDEX.DOC TI-89: Index (US English) Joan Terrell Revised: 07/29/98 2:08 PM Printed: 07/29/98 2:08 PM Page 554 of 8
programming, 266, 385 session
configuration, 288 Data/Matrix Editor, 229
debug, 298 Text Editor, 305
functions, 273 set
loops, 285 folder, setFold, 288
operations, 390 split screens, 221
strings, 280 table parameters, 212
subroutines, 275 shift( ) , 238, 332
table, 293 simplification
tests, 282, 283 delayed, 54
proper fraction, propFrac( ) , 5, 62, 372 rules, 52
Pythagorean theorem, 362 simult( ) , 61
sinusoidal regression, SinReg, 540
Q smart graph, 103
quadratic software
formula, 364 certificate, 357
function, 373 version, 44
QuickCenter, 106 solve( ) , 5, 49, 50, 51, 61, 184
Quick-Find Locator, 388 split screen, 197, 199, 221, 314, 324, 325, 378
pixel coordinates, 222
switch, 223
R stat results, last computed, ShowStat, 250
RAM, random access memory, 347 statistical
random matrix, randMat, 366 calculations, 247
recall picture, RclPic, 206 last computed stat results, ShowStat, 250
regressions, 540 types, 249
replace picture, RplcPic, 206 operations, 390
reports, 315 plots, 252
reserved names, 537 Data/Matrix Editor, 252
restore graph database settings, RclGDB, 208 graph/trace, 257
Return, 195, 274 types, 254
return string as expression, expr( ) , 356 Y=Editor, 256
rotate( ) , 332 variables, 251. See also variables, system and
row reserved names
delete, 235 statistics and data plots
insert, 234 category column, 258
locked, 236 frequency column, 258
row reduce, rref( ) , 61, 366 status line, 3, 42, 96
Runge-Kutta (RK), 179, 181, 543 stop
calculation, 21, 323
S chat, 354
scatter plot, 254 graphing, 103
scientific notation, 18 transfer, 360
scripts store graph database variable, StoGDB, 208
command, 82, 313 store picture, StoPic, 206
home screen, 314 string operations, 280, 391
tutorial, 370 submenus, 28
2nd-order equation, 175, 184 subroutines, 275
SendCalc, 353 substitute values, 55
SendChat, 353 symbols, 312
sequence graphing
Fibonacci, 139
table, generate, 139
tools, 133
serial number, 44
service, 548
Index 555
INDEX.DOC TI-89: Index (US English) Joan Terrell Revised: 07/29/98 2:08 PM Printed: 07/29/98 2:08 PM Page 555 of 8
T V
tables variables
ASK, 217 archive/unarchive, 343
automatic, 214 auto-calculate, 237
cell width, 215 backups, 358
commands, 293 basics, 37
generate with sequence, 139 clearing, 325
manual, 217 commands, 353
parameters, 212 complex, 535
taylor( ) , 64 contents of, 340
technical assistance, 548 copy, 240, 341
temperature data, 227, 229
convert range/value, defined, 47
@tmpCnv( ) / tmpCnv( ) , 74 delayed simplification, 54
text delete, 65, 279, 340, 537
accented, 311 equation as, 320
cut/copy/paste, 308 error, 321
delete, 308 global, 279
editor, 305 headers, 356
find, 309 in programs, 276
highlight, 308 independent, 212, 214, 217
on graphs, 204 known, define, 321
typing, 307 list, 227, 229
3rd-order equation, 177 local, 274, 278
3D graphing lock/unlock, 341
animating, 152 manage, 88
axes, 153 matrix, 228, 229, 235
complex surface, 158 native independent, 192
implicit plots, 159 NewData, 228
optical illusions, 154 override, 48
tools, 147 rename, 341
viewing angle, 150 statistical, 251
Z values, 156 storing, 88
time-value-of-money, 383 sysData, 191
toolbar, Home screen, 3, 16 system, 171, 191, 218, 537
Trace, 105, 368, 376, 377, 380 text, 82
statistical plots, 257 transmit, 350
Trigger, 377 types, 338
troubleshooting, 547 undefined, 47
unknown, solve for, 319
U window, 101
unarchive, Unarchiv, 344 differential equations, 169
units, 71 parametric, 119
convert, 73 polar, 125
convert temperature, 74 sequence graphing, 131
defaults, 75, 77 3D, 146
user-defined, 76 Var-Link, 338
upgrades, 357 version, 44
viewing angles, in 3D graphing, 150
556 Index
INDEX.DOC TI-89: Index (US English) Joan Terrell Revised: 07/29/98 2:08 PM Printed: 07/29/98 2:08 PM Page 556 of 8
W
warning messages, 523
warranty, 548
web plots, 135
convergence, 136
divergence, 136
oscillation, 137
when( ) , 66, 190, 194
While, 286
window variables, 101
differential equations, 169
parametric, 119
polar, 125
sequence, 131
3D, 146
with operator, |, 6, 48, 55
X
XorPic, 206
xyline plot, 254
Y
Y=Editor, 97
bypassing, 193, 216
differential equations, 167, 174
initial conditions, 172
parametric, 118
polar, 124
selected, Ÿ, 99, 167
sequence, 130
statistical plots, 256
style, 100
3D, 145
two-graph mode, 198
Z
Z values, 156
zeros( ) , 49, 62, 362
Zoom menu, 107
Index 557
INDEX.DOC TI-89: Index (US English) Joan Terrell Revised: 07/29/98 2:08 PM Printed: 07/29/98 2:08 PM Page 557 of 8
CALCPIC.DOC TI-89: Back Inside Cover (US English) Joan Terrell Revised: 07/20/98 1:07 PM Printed: 07/27/98 3:58 PM Page 1 of 1