Symbols – Texas Instruments PLUS TI-89 User Manual
Page 543
526 Appendix A: Functions and Instructions
8992APPA.DOC TI-89 / TI-92 Plus: Appendix A (US English) Susan Gullord Revised: 02/23/01 1:48 PM Printed: 02/23/01 2:21 PM Page 526 of 132
+
(add)
«
key
expression1
+
expression2
⇒
expression
Returns the sum of
expression1
and
expression2
.
56 ¸
56
ans(1)+4 ¸
60
ans(1)+4 ¸
64
ans(1)+4 ¸
68
ans(1)+4 ¸
72
list1
+
list2
⇒
list
matrix1
+
matrix2
⇒
matrix
Returns a list (or matrix) containing the sums
of corresponding elements in
list1
and
list2
(or
matrix1
and
matrix2
).
Dimensions of the arguments must be equal.
{22,
p,p/2}! L1 ¸
{22
p p/2}
{10,5,
p/2}! L2 ¸
{10 5
p/2}
L1+L2 ¸
{32
p+5 p}
ans(1)+{
p,л 5,л p} ¸
{
p+32 p 0}
[a,b;c,d]+[1,0;0,1] ¸
[
]
a+1 b
c d+1
expression
+
list1
⇒
list
list1
+
expression
⇒
list
Returns a list containing the sums of
expression
and each element in
list1
.
15+{10,15,20} ¸
{25 30 35}
{10,15,20}+15 ¸
{25 30 35}
expression
+
matrix1
⇒
matrix
matrix1
+
expression
⇒
matrix
Returns a matrix with
expression
added to
each element on the diagonal of
matrix1
.
matrix1
must be square.
Note:
Use
.+
(dot plus) to add an expression
to each element.
20+[1,2;3,4] ¸
[
21 2
3 24
]
ì
(subtract)
|
key
expression1
- expression2
⇒
expression
Returns
expression1
minus
expression2
.
6ì 2 ¸
4
pì pа6 ¸
5ш
p
6
list1
-
list2
⇒
list
matrix1
-
matrix2
⇒
matrix
Subtracts each element in
list2
(or
matrix2
)
from the corresponding element in
list1
(or
matrix1
), and returns the results.
Dimensions of the arguments must be equal.
{22,
p,pа2}м {10,5,pа2} ¸
{12
pм 5 0}
[3,4]м [1,2] ¸
[2 2]
expression
-
list1
⇒
list
list1
-
expression
⇒
list
Subtracts each
list1
element from
expression
or subtracts
expression
from each
list1
element, and returns a list of the results.
15м {10,15,20} ¸
{5 0 -5}
{10,15,20}м 15 ¸
{-5 0 5}