Round, Rref, Rswap – Texas Instruments TI-86 User Manual

Page 360

Advertising
background image

348

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 348 of 118

round(

MATH NUM menu

round(

number

,

#ofDecimals

)

round(

number

)

Returns a real or complex number rounded to the
specified #ofDecimals (0 to 11). If #ofDecimals is
omitted, number is rounded to 12 decimal places.

round(

p,4) b

3.1416

round(

p/4,4) b

.7854

round(

p/4) b

.785398163397

round(

list

,

#ofDecimals

)

round(

matrix

,

#ofDecimals

)

round(

vector

,

#ofDecimals

)

Returns a list, matrix, or vector in which each element
is the rounded value of the corresponding element in
the argument. #ofDecimals is optional.

round({

p,‡2,ln 2},3) b

{3.142 1.414 .693}

round([[ln 5,ln 3][

p,e^1]],2)

b

[[1.61 1.1 ]

[3.14 2.72]]

rref

MATRX OPS menu

rref

matrix

Returns the reduced row-echelon form of a real or
complex matrix. The number of columns must be
greater than or equal to the number of rows.

[[4,5,6][7,8,9]]¶MAT b

[[4 5 6]

[7 8 9]]

rref MAT b

[[1 0

L

.999999999999…

[0 1 2 …

rSwap(

MATRX OPS menu

rSwap(

matrix

,

rowA

,

rowB

)

Returns a matrix with rowA of a real or complex matrix
swapped with rowB.

[[5,3,1][2,0,4][3,

L

1,2]]¶MAT

b

[[5 3 1]

[2 0 4]

[3

L

1 2]]

rSwap(MAT,2,3) b

[[5 3 1]

[3

L

1 2]

[2 0 4]]

Advertising