Texas Instruments TI-89 user guide: Base

Published by Texas Instruments · pages 571–595 of 623 · Original PDF

32 discussions about the Texas Instruments TI-89

All 25 parts of the user guide

Base

Lets you perform calculations by entering numbers in decimal, binary, or hexadecimal form.

1:DEC Decimal numbers use 0 - 9 in the base 10 format
2:HEX Hexadecimal numbers use 0 - 9 and A - F in the base 16 format.
3:BIN Binary numbers use 0 and 1 in the base 2 format.

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.

1:SI Select SI for the metric system of measurements
2:ENG/US Select ENG/US for the non-metric system of measurements
3:CUSTOM Allows you to select custom defaults.

Custom Units

Lets you select custom defaults. This mode is dimmed until you select Unit System, 3:CUSTOM.

Language

Lets you localize the TI-89 / TI-92 Plus into one of several languages, depending on which language Flash applications are installed.

1:English Default language included with the TI-89 / TI-92 Plus base code.
2: — (language Flash applications) Alternate languages are available only if the respective language Flash applications have been installed.

554 Appendix B: Reference Information

TI-89 / TI-92 Plus Character Codes

The char() function lets you refer to any character by its numeric character code. For example, to display ◆ 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.

1. SOH 38. & 75. K 112. p 149. E 186. ° 223. ß
2. STX 39. ' 76. L 113. q 150. e 187. » 224. à
3. ETX 40. ( 77. M 114. r 151. i 188. d 225. á
4. EOT 41. ) 78. N 115. s 152. r 189. ƒ 226. â
5. ENQ 42. * 79. O 116. t 153. τ 190. ∞ 227. ã
6. ACK 43. + 80. P 117. u 154. x̄ 191. ¿ 228. ä
7. BELL 44. , 81. Q 118. v 155. ȳ 192. À 229. å
8. BS 45. - 82. R 119. w 156. ≤ 193. Á 230. æ
9. TAB 46. . 83. S 120. x 157. ≠ 194. Â 231. ç
10. LF 47. / 84. T 121. y 158. ≥ 195. Ã 232. è
11. ⌂ 48. 0 85. U 122. z 159. ∠ 196. Ä 233. é
12. FF 49. 1 86. V 123. { 160. ... 197. Å 234. ê
13. CR 50. 2 87. W 124. 161. i 198. Æ 235. ë
14. 🔒 51. 3 88. X 125. } 162. ¢ 199. Ç 236. ì
15. ✓ 52. 4 89. Y 126. ~ 163. £ 200. È 237. í
16. ■ 53. 5 90. Z 127. ◆ 164. α 201. É 238. î
17. ◀ 54. 6 91. [ 128. α 165. ¥ 202. Ê 239. ï
18. ▶ 55. 7 92. \ 129. β 166. ! 203. Ë 240. ò
19. ▲ 56. 8 93. ] 130. Γ 167. § 204. Ì 241. ñ
20. ▼ 57. 9 94. ^ 131. γ 168. √ 205. Í 242. ò
21. ← 58. : 95. _ 132. 169. ● 206. Î 243. ó
22. → 59. ; 96. ` 133. δ 170. ä 207. Ï 244. ô
23. ↑ 60. < 97. a 134. ε 171. « 208. Đ 245. õ
24. ↓ 61. = 98. b 135. ζ 172. → 209. Ñ 246. ö
25. ◀ 62. > 99. c 136. θ 173. - 210. Ò 247. ÷
26. ▶ 63. ? 100. d 137. λ 174. ® 211. Ó 248. ø
27. ↑ 64. @ 101. e 138. ξ 175. - 212. Ô 249. ù
28. ∪ 65. A 102. f 139. Π 176. ° 213. Ö 250. ú
29. ∩ 66. B 103. g 140. π 177. ± 214. Ø 251. û
30. ⊂ 67. C 104. h 141. ρ 178. ² 215. × 252. ü
31. ∈ 68. D 105. i 142. Σ 179. ³ 216. Ø 253. ý
32. SPACE 69. E 106. j 143. σ 180. -¹ 217. Ù 254. þ
33. ! 70. F 107. k 144. τ 181. μ 218. Ú 255. ÿ
34. " 71. G 108. l 145. φ 182. ¶ 219. Û
35. # 72. H 109. m 146. ψ 183. · 220. Ü
36. $ 73. I 110. n 147. Ω 184. + 221. Ý
37. % 74. J 111. o 148. ω 185. ¹ 222. Þ

Appendix B: Reference Information 555

TI-89 Key Codes

The getKey() function returns a value 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 [2nd] [F6] will return a value of 273.

Table 1: Key Codes for Primary Keys

Key Modifier
None ↑ 2nd ◆ alpha
Assoc. Value Assoc. Value Assoc. Value Assoc. Value Assoc. Value
[F1] F1 268 F1 268 F6 273 Y= 8460 F1 268
[F2] F2 269 F2 269 F7 274 WINDOW 8461 F2 269
[F3] F3 270 F3 270 F8 275 GRAPH 8462 F3 270
[F4] F4 271 F4 271 F4 271 TblSet 8463 F4 271
[F5] F5 272 F5 272 F5 272 TABLE 8464 F5 272
◆ COPY 24576 CUT 12288
alpha a-lock
[ESC] ESC 264 ESC 264 QUIT 4360 PASTE 8456 ESC 264
[APPS] APPS 265 APPS 265 SWITCH 4361 8457 APPS 265
[HOME] HOME 277 HOME 277 CUST 4373 HOME 277 HOME 277
[MODE] MODE 266 MODE 266 ▶ 18 _ 95 MODE 266
[CATALOG] CATLG 278 CATLG 278 i 151 ∞ 190 CATLG 278
← BS 257 BS 257 INS 4353 DEL 8449 BS 257
[CLEAR] CLEAR 263 CLEAR 263 CLEAR 263 8455 CLEAR 263
[X] x 120 X 88 LN 4184 e^x 8280 x 120
[Y] y 121 Y 89 SIN 4185 SIN⁻¹ 8281 y 121
[Z] z 122 Z 90 COS 4186 COS⁻¹ 8282 z 122
[T] t 116 T 84 TAN 4180 TAN⁻¹ 8276 t 116
[^] ^ 94 ^ 94 π 140 θ 136 ^ 94
[I] I 124 F 70 ° 176 Format d/b 8316 f 102
[(] ( 40 B 66 { 123 b 98
[)] ) 41 C 67 } 125 ● 169 c 99
[,] , 44 D 68 [ 91 8236 d 100
[÷] / 47 E 69 ] 93 ! 33 e 101
[×] * 42 J 74 √ 4138 & 38 j 106
[-] - 45 O 79 VAR-LNK 4141 Contr. - o 111
[+] + 43 U 85 CHAR 4139 Contr. + u 117

556 Appendix B: Reference Information

Table 1: Key Codes for Primary Keys (Continued)

Key Modifier
None ↑ 2nd ◆ [alpha]
Assoc. Value Assoc. Value Assoc. Value Assoc. Value Assoc. Value
[ENTER] CR 13 CR 13 ENTRY 4109 APPROX 8205 CR 13
[STO▶] STO▶ 258 P 80 RCL 4354 @ 64 p 112
[=] = 61 A 65 ' 39 ≠ 157 a 97
[EE] 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] 0 48 V 86 < 60 ≤ 156 v 118
[1] 1 49 Q 81 " 34 8241 q 113
[2] 2 50 R 82 \ 92 8242 r 114
[3] 3 51 S 83 UNITS 4147 8243 s 115
[4] 4 52 L 76 : 58 8244 l 108
[5] 5 53 M 77 MATH 4149 8245 m 109
[6] 6 54 N 78 MEM 4150 8246 n 110
[7] 7 55 G 71 ∫ 4151 8247 g 103
[8] 8 56 H 72 d 4152 8248 h 104
[9] 9 57 I 73 ; 59 8249 i 105

Table 2: Arrow Keys (including diagonal movement)

Key Normal ↑ 2nd ◆ [alpha]
◀ 338 16722 4434 8530 33106
▼ 340 16724 4436 8532 33108
▶ 344 16728 4440 8536 33112
▲ 337 16721 4433 8529 33105
◀ and ▲ 339 16723 4435 8531 33107
◀ and ▼ 342 16726 4438 8534 33110
▶ and ▲ 345 16729 4441 8537 33113
▶ and ▼ 348 16732 4444 8540 33116

Appendix B: Reference Information 557

Table 3: Greek Letters (prefixed by ◆ [α])

Keys Second modifier
[alpha] [↑]
Assoc. Value Assoc. Value
= [A] α 128
( [B] β 129
, [D] δ 133 132
÷ [E] ε 134
1 [F] φ 145
7 [G] γ 131 Γ 130
4 [L] λ 137
5 [M] μ 181
[STO▶] [P] π 140 Π 139
2 [R] ρ 141
3 [S] σ 143 Σ 142
T [T] τ 144
. [W] ω 148 Ω 147
X ξ 138
Y ψ 146
Z ζ 135

558 Appendix B: Reference Information

TI-92 Plus Key Codes

The getKey() function returns a value 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 [2nd] [F1] will return a value of 268.

Table 1: Key Codes for Primary Keys

Key Modifier
None ↑ 2nd ◆
Assoc. Value Assoc. Value Assoc. Value Assoc. Value
[F1] F1 268 F1 268 F1 268 8460
[F2] F2 269 F2 269 F2 269 8461
[F3] F3 270 F3 270 F3 270 8462
[F4] F4 271 F4 271 F4 271 8463
[F5] F5 272 F5 272 F5 272 8464
[F6] F6 273 F6 273 F6 273 8465
[F7] F7 274 F7 274 F7 274 8466
[F8] F8 275 F8 275 F8 275 8467
[MODE] MODE 266 MODE 266 MODE 266 8458
[CLEAR] CLEAR 263 CLEAR 263 CLEAR 263 8455
[LN] LN 262 LN 262 e^x 4358 8454
[ESC] ESC 264 ESC 264 QUIT 4360 8456
[APPS] APPS 265 APPS 265 SWITCH 4361 8457
[ENTER] CR 13 CR 13 ENTRY 4109 APPROX 8205
[SIN] SIN 259 SIN 259 SIN⁻¹ 4355 8451
[COS] COS 260 COS 260 COS⁻¹ 4356 8452
[TAN] TAN 261 TAN 261 TAN⁻¹ 4357 8453
[^] ^ 94 ^ 94 π 140 8286
[(] ( 40 ( 40 { 123 8232
[)] ) 41 ) 41 } 125 8233
[,] , 44 , 44 [ 91 8236
[÷] / 47 / 47 ] 93 8239
[×] * 42 * 42 √ 4138 8234
[−] - 45 - 45 VAR-LNK 4141 Contrast −
[+] + 43 + 43 CHAR 4139 Contrast +
[STO▶] STO▶ 258 STO▶ 258 RCL 4354 8450
SPACE 32 32 32 8224
[=] = 61 = 61 \ 92 8253
[←] BS 257 BS 257 INS 4353 DEL 8449
[θ] θ 136 θ 136 : 58 8328
[(−)] - 173 - 173 ANS 4372 8365
[.] . 46 . 46 > 62 8238

Appendix B: Reference Information 559

Table 1: Key Codes for Primary Keys (Continued)

Key Modifier
None ↑ 2nd ◆
Assoc. Value Assoc. Value Assoc. Value Assoc. Value
0 0 48 0 48 < 60 8240
1 1 49 1 49 E 149 8241
2 2 50 2 50 CATLG 4146 8242
3 3 51 3 51 CUST 4147 8243
4 4 52 4 52 Σ 4148 8244
5 5 53 5 53 MATH 4149 8245
6 6 54 6 54 MEM 4150 8246
7 7 55 7 55 VAR-LNK 4151 8247
8 8 56 8 56 ∫ 4152 8248
9 9 57 9 57 δ 4153 8249
A a 97 A 65 Table 3 8257
B b 98 B 66 ‘ 39 8258
C c 99 C 67 Table 4 COPY 8259
D d 100 D 68 ° 176 8260
E e 101 E 69 Table 5 WINDOW 8261
F f 102 F 70 ∠ 159 FORMAT 8262
G g 103 G 71 Table 6 8263
H h 104 H 72 & 38 8264
I i 105 I 73 i 151 8265
J 106 J 74 ∞ 190 8266
K k 107 K 75 l 124 KEY 8267
L l 108 L 76 “ 34 8268
M m 109 M 77 ; 59 8269
N n 110 N 78 Table 7 NEW 8270
O o 111 O 79 Table 8 OPEN 8271
P p 112 P 80 _ 95 UNITS 8272
Q q 113 Q 81 ? 63 HOME 8273
R r 114 R 82 @ 64 GRAPH 8274
S s 115 S 83 β 223 SAVE 8275
T t 116 T 84 # 35 TblSet 8276
U u 117 U 85 Table 9 8277
V v 118 V 86 ≠ 157 PASTE 8278
W w 119 W 87 ! 33 Y= 8279
X x 120 X 88 ◉ 169 CUT 8280
Y y 121 Y 89 ▶ 18 TABLE 8281
Z z 122 Z 90 Caps Lock 8282

560 Appendix B: Reference Information

Table 2: Arrow Keys

Arrow Keys Normal ↑ 2nd ◆ ☐
↑ 338 16722 4434 8530 33106
↓ 342 16726 4438 8534 33110
← 340 16724 4436 8532 33108
→ 348 16732 4444 8540 33116
↖ 344 16728 4440 8536 33112
↗ 345 16729 4441 8537 33113
↙ 337 16721 4433 8529 33105
↘ 339 16723 4435 8531 33107

Note: The Grab (☐) modifier only affects the arrow keys.

Table 3: Grave Letters (prefixed by 2nd A)

Key Assoc. Normal ↑
A à 224 192
E è 232 200
I ì 236 204
O ò 242 210
U ù 249 217

Table 4: Cedilla Letters (prefixed by 2nd C)

Key Assoc. Normal ↑
C ç 231 199

Table 5: Acute Accent Letters (prefixed by 2nd E)

Key Assoc. Normal ↑
A á 225 193
E é 233 201
I í 237 205
O ó 243 211
U ú 250 218
Y ý 253 221

Appendix B: Reference Information 561

Table 6: Greek Letters (prefixed by 2nd G)

Key Assoc. Normal ↑
A α 128
B β 129
D δ 133 132
E ε 134
F φ 145
G γ 131 130
L λ 137
M μ 181
P π 140 139
R ρ 141
S σ 143 142
T τ 144
W ω 148 147
X ξ 138
Y ψ 146
Z ζ 135

Table 7: Tilde Letters (prefixed by 2nd N)

Key Assoc. Normal ↑
N ñ 241 209
O õ 245

Table 8: Caret Letters (prefixed by 2nd O)

Key Assoc. Normal ↑
A â 226 194
E ê 234 202
I î 238 206
O ô 244 212
U û 251 219

Table 9: Umlaut Letters (prefixed by 2nd U)

Key Assoc. Normal ↑
A ä 228 196
E ë 235 203
I ï 239 207
O ö 246 214
U ü 252 220
Y ÿ 255

562 Appendix B: Reference Information

Entering Complex Numbers

You can enter complex numbers in the polar form (r∠θ), where r is the magnitude and θ is the angle, or polar form re^iθ. You can also enter complex numbers in rectangular form a+bi

Overview of Complex Numbers

A complex number has real and imaginary components that identify 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.

The point can be expressed in rectangular form or in either of two polar forms.

The i symbol represents the imaginary number √-1.

Figure from the manual

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
re^iθ Radian only(In Degree angle mode, this form causes a Domain error.)
(r∠θ) Radian or Degree

Use the following methods to enter a complex number.

To enter the: Do this:
Rectangular form a+bi Substitute the applicable values or variable names for a and b.a [+] b [2nd] [i]For example:

Note: To get the i symbol, press [2nd] [i], do not simply type an alphabetic i.

Appendix B: Reference Information 563

Figure from the manual

Important: Do not use the re^i\theta polar form in Degree angle mode. It will cause a Domain error.

Note: To get the $e$ symbol, press: TI-89: [♦] [eˣ]. TI-92 Plus: [2nd] [eˣ] Do not simply type an alphabetic e.

Tip: To get the \angle symbol, press [2nd] [\angle].

Tip: To enter \theta in degrees for (r\angle\theta), you can type a ° symbol (such as 45°). To get the ° symbol, press [2nd] [°]. You should not use degrees for re^i\theta.

To enter the: Do this:
Polar form re^i\theta– or –(r\angle\theta) Substitute the applicable values or variable names for r and θ, where θ is interpreted according to the Angle mode setting.TI-89:[alpha] [R] [♦] [eˣ] [2nd] [i] [♦] [θ] [)]– or –[()] [alpha] [R] [2nd] [\angle] [♦] [θ] [)]TI-92 Plus:R [2nd] [eˣ] [2nd] [i] [θ] [)]– or –[()] R [2nd] [\angle] [θ] [)]

Parentheses are required for the (r\angle\theta) form.

For example:

Figure from the manual

Results are shown in rectangular form, but you can select polar form.

Complex Format Mode for Displaying Results

Use [MODE] to set the Complex Format mode to one of three settings.

You can enter a complex number at any time, regardless of the Complex Format mode setting. However, the mode setting determines how results are displayed.

If Complex Format is: The TI-89 / TI-92 Plus:
REAL Will not display complex results unless you:• Enter a complex number.– or –• Use a complex function such as cFactor(), cSolve(), or cZeros().If complex results are displayed, they will be shown in either a+bi or re^i\theta form.
RECTANGULAR Displays complex results as a+bi.
POLAR Displays complex results as:• re^i\theta if the Angle mode = Radian– or –• (r\angle\theta) if the Angle mode = Degree

Note: You can enter complex numbers in any form (or a mixture of all forms) depending on the Angle mode.

564 Appendix B: Reference Information

Using Complex Variables in Symbolic Calculations

Regardless of the Complex Format mode setting, undefined variables are treated as real numbers. To perform complex symbolic analysis, you can use either of the following methods to set up a complex variable.

Method 1: Use an underscore _ (TI-89: [●] [] TI-92 Plus: [2nd] []) as the last character in the variable name to designate a complex variable. For example:

Note: For best results in calculations such as cSolve() and cZeros(), use Method 1.

z_ is treated as a complex variable (unless z already exists, in which case it retains its existing data type).

Figure from the manual

Method 2: Define a complex variable. For example:

x+yi \Rightarrow z

Then z is treated as a complex variable.

Figure from the manual

Complex Numbers and Degree Mode

Radian angle mode is recommended for complex number calculations. Internally, the TI-89 / TI-92 Plus converts all entered trig values to radians, but it does not convert values for exponential, logarithmic, or hyperbolic functions.

Note: If you use Degree angle mode, you must make polar entries in the form (r∠θ). In Degree angle mode, an re^i\theta entry causes an error.

In Degree angle mode, complex identities such as e^(i\theta) = \cos(\theta) + i \sin(\theta) are not generally true because the values for cos and sin are converted to radians, while those for $e^{()}$ are not. For example, e^(i45) = \cos(45) + i \sin(45) is treated internally as e^(i45) = \cos(\pi/4) + i \sin(\pi/4). Complex identities are always true in Radian angle mode.

Appendix B: Reference Information 565

Accuracy Information

To maximize accuracy, the TI-89 / TI-92 Plus carries more digits internally than it displays.

Computational Accuracy

Floating-point (decimal) values in memory are stored using up to 14 digits with a 3-digit exponent.

  • For min and max Window variables (xmin, xmax, ymin, ymax, etc.), you can store values using up to 12 digits. Other Window variables use 14 digits.
  • When a floating-point value is displayed, the displayed value is rounded as specified by the applicable mode settings (Display Digits, Exponential Format, etc.), with a maximum of 12 digits and a 3-digit exponent.
  • RegEQ displays up to 14-digit coefficients.

Integer values in memory are stored using up to 614 digits.

Graphing Accuracy

The Window variable xmin is the center of the leftmost pixel used, and xmax is the center of the rightmost pixel used. \Deltax is the distance between the centers of two horizontally adjacent pixels.

Note: For a table that lists the number of pixels in a full screen or split screen, refer to "Setting and Exiting the Split Screen Mode" in Chapter 14.

  • \Deltax is calculated as (xmax – xmin) / (# of x pixels – 1).
  • If \Deltax is entered from the Home screen or a program, xmax is calculated as xmin + \Deltax * (# of x pixels – 1).

The Window variable ymin is the center of the bottom pixel used, and ymax is the center of the top pixel used. \Deltay is the distance between the centers of two vertically adjacent pixels.

  • \Deltay is calculated as (ymax – ymin) / (# of y pixels – 1).
  • If \Deltay is entered from the Home screen or a program, ymax is calculated as ymin + \Deltay * (# 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.

566 Appendix B: Reference Information

System Variables and Reserved Names

This section lists the names of system variables and reserved function names that are used by the TI-89 / TI-92 Plus. Only those system variables and reserved function names that are identified by an asterisk (*) can be deleted by using DelVar var on the entry line.

Graph

y1(x)–y99(x)*
xt1(t)–xt99(t)*
ui1–ui99*
tc
xfact
xmax
ymax
Δx
zscl
ncontour
tmin
tplot
Estep
nmax

y1'(t)–y99'(t)*
yt1(t)– yt99(t)*
xc
rc
yfact
xscl
yscl
Δy
eyeθ
θmin
tmax
ncurves
fldpic
plotStrt

yi1–yi99*
z1(x,y)–z99(x,y)*
yc
θc
zfact
xgrid
ygrid
zmin
eyeφ
θmax
tstep
dif tol
fldres
plotStep

r1(θ)–r99(θ)*
u1(n)–u99(n)*
zc
nc
xmin
ymin
xres
zmax
eyeψ
θstep
t0
dtime
nmin
sysMath

Graph Zoom

zxmin
zymin
zxres
ztmin
ztmaxde
zzmax
zeyeψ
zpltstep

zxmax
zymax
zθmin
ztmax
ztstepde
zzscl
znmin

zxscl
zyscl
zθmax
ztstep
ztplotde
zeyeθ
znmax

zxgrid
zygrid
zθstep
zt0de
zzmin
zeyeφ
zpltstrt

Statistics

x̄
Σx²
Σy²
medStat
medy1
minY
regCoef*
Sx

ȳ
Σxy
corr
medx1
medy2
nStat
regEq(x)*
Sy

Σx
Σy
maxX
medx2
medy3
q1
seed1
R²

σx
σy
maxY
medx3
minX
q3
seed2

Table

tblStart
Δtbl
tblInput

Data/Matrix

c1–c99
sysData*

Miscellaneous

main
ok
errornum

Solver

eqn*
exp*

Appendix B: Reference Information 567

EOS (Equation Operating System) Hierarchy

This section describes the Equation Operating System (EOS™) that is used by the TI-89 / TI-92 Plus. Numbers, variables, and functions are entered in a simple, straightforward sequence. EOS evaluates expressions and equations using parenthetical grouping and according to the priorities described below.

Order of Evaluation

\begin{tabular}{ll} Level & Operator \ \hline 1 & Parentheses ( ), brackets [ ], braces { } \ 2 & Indirection (#) \ 3 & Function calls \ 4 & Post operators: degrees-minutes-seconds (°,''), factorial (!), percentage (%), radian (^\Gamma), subscript ([ ]), transpose (^\intercal) \ 5 & Exponentiation, power operator (^) \ 6 & Negation (-) \ 7 & String concatenation (&) \ 8 & Multiplication (*), division (/) \ 9 & Addition (+), subtraction (-) \ 10 & Equality relations: equal (=), not equal (\neq or /=), less than (<), less than or equal (\leq or <=), greater than (>), greater than or equal (\geq or >=) \ 11 & Logical not \ 12 & Logical and \ 13 & Logical or, exclusive logical xor \ 14 & Constraint "with" operator (|) \ 15 & Store (\rightarrow) \ \end{tabular}

Parentheses, Brackets, and Braces All calculations inside a pair of parentheses, brackets, or braces are evaluated first. For example, in the expression 4(1+2), EOS first evaluates the portion of the expression inside the parentheses, 1+2, and then multiplies the result, 3, by 4.

The number of opening and closing parentheses, brackets, and braces must be the same within an expression or equation. If not, an error message is displayed that indicates the missing element. For example, (1+2)/(3+4 will display the error message "Missing )."

Note: Because the TI-89 / TI-92 Plus allows you to define your own functions, a variable name followed by an expression in parentheses is considered a "function call" instead of implied multiplication. For example a(b+c) is the function a evaluated by b+c. To multiply the expression b+c by the variable a, use explicit multiplication: a*(b+c).

568 Appendix B: Reference Information

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.

Negation

To enter a negative number, press [(-)] followed by the number. Post operations and exponentiation are performed before negation. For example, the result of ¬x² is a negative number, and ¬9² = -81. Use parentheses to square a negative number such as (-9)² to produce 81. Note also that negative 5 (-5) is different from minus 5 (-5), and ¬3! evaluates as -(3!).

Constraint (l)

The argument following the "with" (l) operator provides a set of constraints that affect the evaluation of the argument preceding the "with" operator.

Appendix B: Reference Information 569

Regression Formulas

This section describes how the statistical regressions are calculated.

Least-Squares Algorithm

Most of the regressions use non-linear recursive least-squares techniques to optimize the following cost function, which is the sum of the squares of the residual errors:

$J = \sum_i=1^N [residualExpression]^2$

where: residualExpression is in terms of $x_i$ and $y_i$ $x_i$ is the independent variable list $y_i$ is the dependent variable list $N$ is the dimension of the lists

This technique attempts to recursively estimate the constants in the model expression to make $J$ as small as possible.

For example, y=a \sin(bx+c)+d is the model equation for SinReg. So its residual expression is:

a \sin(bx_i+c)+d - y_i

For SinReg, therefore, the least-squares algorithm finds the constants $a$, $b$, $c$, and $d$ that minimize the function:

$J = \sum_i=1^N [a \sin(bx_i + c) + d - y_i]^2$

Regressions

570 Appendix B: Reference Information

Figure from the manual

Figure from the manual

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=a/(1+b×e^(c×x))+d
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²+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⁴+bx³+cx²+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

Appendix B: Reference Information 571

Contour Levels and Implicit Plot Algorithm

Contours are calculated and plotted by the following method. An implicit plot is the same as a contour, except that an implicit plot is for the z=0 contour only.

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.

For each rectangle, the equation is evaluated at each of the four corners (also called vertices or grid points) and an average value (E) is calculated:

$E = z_1 + z_2 + z_3 + z_4/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$):

  • At each of the five points shown to the right, the difference between the point's z value and the contour value is calculated.
  • A sign change between any two adjacent points implies that a contour crosses the line that joins those two points. Linear interpolation is used to approximate where the zero crosses the line.
  • Within the rectangle, any zero crossings are connected with straight lines.
  • This process is repeated for each contour value.

Each rectangle in the grid is treated similarly.

572 Appendix B: Reference Information

Figure from the manual

Figure from the manual

Figure from the manual

Figure from the manual

Runge-Kutta Method

For Runge-Kutta integrations of ordinary differential equations, the TI-89 / TI-92 Plus uses the Bogacki-Shampine 3(2) formula as found in the journal Applied Math Letters, 2 (1989), pp. 1–9.

Bogacki-Shampine 3(2) Formula

The Bogacki-Shampine 3(2) formula provides a result of 3rd-order accuracy and an error estimate based on an embedded 2nd-order formula. For a problem of the form:

$y' = f(x, y)$

and a given step size $h$, the Bogacki-Shampine formula can be written:

$F_1 = f(x_n, y_n)$

F_2 = f\left(x_n + h 1/2, y_n + h 1/2 F_1\right)

F_3 = f\left(x_n + h 3/4, y_n + h 3/4 F_2\right)

y_n+1 = y_n + h \left(2/9 F_1 + 1/3 F_2 + 4/9 F_3\right)

$x_{n+1} = x_n + h$

$F_4 = f(x_{n+1}, y_{n+1})$

errest = h \left(5/72 F_1 - 1/12 F_2 - 1/9 F_3 + 1/8 F_4\right)

The error estimate errest is used to control the step size automatically. For a thorough discussion of how this can be done, refer to Numerical Solution of Ordinary Differential Equations by L. F. Shampine (New York: Chapman & Hall, 1994).

The TI-89 / TI-92 Plus software does not adjust the step size to land on particular output points. Rather, it takes the biggest steps that it can (based on the error tolerance difftol) and obtains results for x_n ≤ x ≤ x_n+1 using the cubic interpolating polynomial passing through the point $(x_n, y_n)$ with slope $F_1$ and through $(x_{n+1}, y_{n+1})$ with slope $F_4$. The interpolant is efficient and provides results throughout the step that are just as accurate as the results at the ends of the step.

Appendix B: Reference Information 573

574 Appendix B: Reference Information

Service and Warranty Information

C

  • Battery Information ........ 576
  • In Case of Difficulty ........ 579
  • Support and Service Information ........ 580
  • Warranty Information ........ 581

This appendix provides supplemental information that may be helpful as you use the TI-89 / TI-92 Plus. It includes procedures that may help you correct problems with the TI-89 / TI-92 Plus, and it describes the service and warranty provided by Texas Instruments.

Figure from the manual

When the BATT indicator appears in the status line, it is time to change the batteries.

Appendix C: Service and Warranty Information 575

Battery Information

The TI-89 / TI-92 Plus uses two types of batteries: four alkaline batteries, and a lithium battery as a backup for retaining memory while you change the alkaline batteries.

When to Replace the Batteries

Note: The TI-89 uses four AAA size alkaline batteries. The TI-92 Plus uses four AA size alkaline batteries.

As the alkaline batteries run down, the display will begin to dim (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 alkaline batteries. To assist you, a BATT indicator (BATT) will display in the status line area when the batteries have drained down to the point when you should replace them soon. When the BATT indicator is displayed in reverse text (▓BATT▓), you must replace the alkaline batteries immediately.

Figure from the manual

Note: To avoid loss of information stored in memory, the TI-89 / TI-92 Plus must be off. Do not remove the alkaline batteries and the lithium battery at the same time.

BATT indicator

To avoid loss of data, do not remove the lithium battery unless four fresh alkaline batteries are installed. Replace the lithium backup battery about every three or four years.

Effects of Replacing the Batteries

If you do not remove both types of batteries at the same time or allow them to run down completely, you can change either type of battery without losing anything in memory.

Battery Precautions

Take these precautions when replacing batteries:

  • Do not leave batteries within the reach of children.
  • Do not mix new and used batteries. Do not mix brands (or types within brands) of batteries.
  • Do not mix rechargeable and non-rechargeable batteries.
  • Install batteries according to polarity (+ and -) diagrams.
  • Do not place non-rechargeable batteries in a battery recharger.
  • Properly dispose of used batteries immediately.
  • Do not incinerate or dismantle batteries.

576 Appendix C: Service and Warranty Information

Replacing the Alkaline Batteries in the TI-89

  1. If the TI-89 is on, turn it off (press [2nd] [OFF]) to avoid loss of 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.
  5. Install four new AAA alkaline batteries, arranged according to the polarity (+ and -) diagram inside the battery compartment.

Figure from the manual

  1. 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 Lithium Battery in the TI-89

To replace the lithium backup battery, remove the battery cover and unscrew the tiny screw holding the BACK UP BATTERY cover in place.

Remove the old battery and install a new CR1616 or CR1620 battery, positive (+) side up. Replace the cover and the screw.

Appendix C: Service and Warranty Information 577

Replacing the Alkaline Batteries in the TI-92 Plus

  1. If the TI-92 Plus is on, turn it off (press 2nd [OFF]) to avoid loss of information stored in memory.

  2. Holding the TI-92 Plus unit upright, slide the latch on the top of the unit to the left unlocked position; slide the rear cover down about one-eighth inch and remove it from the main unit.

  3. Remove all four discharged AA batteries.

  4. Install four new AA batteries as shown on the polarity diagram located in the battery compartment.

  5. Replace the rear cover, and slide the latch on the top of the TI-92 Plus to the locked position to lock the cover back in place.

  6. Turn the TI-92 Plus on, and adjust the display contrast, if necessary.

Replacing the Lithium Battery in the TI-92 Plus

To replace the lithium backup battery, remove the back cover from the unit and unscrew the tiny screw holding the lithium battery cover in place.

Remove the old battery and install a new CR2032, positive (+) side up. Replace the cover and the screw.

578 Appendix C: Service and Warranty Information

Figure from the manual

Figure from the manual

Text converted from the manufacturer's document. A □ marks a character that could not be read in the original. Back to the Texas Instruments TI-89 discussions