beautypg.com

Texas Instruments TI-86 User Manual

Page 280

background image

268

Chapter 20: A to Z Function and Instruction Reference

20ATOZ.DOC TI-86, Chap 20, US English Bob Fedorisko Revised: 02/13/01 2:42 PM Printed: 02/13/01 3:05 PM Page 268 of 118

listA

+

listB

matrixA

+

matrixB

vectorA

+

vectorB

Returns a list, matrix, or vector that is the sum of the
corresponding real or complex elements in the
arguments. The two arguments must have the same
dimension.

For information about adding two strings, refer to

Concatenation

on page 274.

{1,2,3}+{4,5,6} b

{5 7 9}

[[1,2,3][4,5,6]]+[[4,5,6][7,8,9]]
b

[[5 7 9 ]

[11 13 15]]

[1,2,3]+[4,5,6] b

[5 7 9]

and

BASE BOOL menu

integerA

and

integerB

Compares two real integers bit by bit. Internally, both
integers are converted to binary. When corresponding
bits are compared, the result is 1 if both bits are 1;
otherwise, the result is 0. The returned value is the sum
of the bit results.

For example, 78

and

23 = 6.

78 = 1001110Ь
23 = 0010111Ь

0000110Ь = 6

You can enter real numbers instead of integers, but they
are truncated automatically before the comparison.

In

Dec

number base mode:

78 and 23 b

6

In

Bin

number base mode:

1001110 and 10111 b

110Ü

Ans

4Dec b