beautypg.com

Appendix a: function and instruction reference – Texas Instruments TI-73 EXPLORER User Manual

Page 303

background image

Appendix A: Function and Instruction Reference

297

73A-ENG.DOC AppxA: Function/Instruction Reference, English Julie Hewlett Revised: 07/29/98 1:10 PM Printed:

05/19/99 9:03 AM Page 297 of 36

median(

list[,freq]

)

- v

M A T H

Returns the median (the middle element) of list. If a

second list, freq, is specified, it is interpreted as the

frequency of the elements in the first list. list and freq

must have the same number of elements.

median({1,2,3,4}) b

2.5

median({1,2,6},{4,5,4}) b

2

Med-Med

[XList

,

YList

,

freq

,

Y

n

]

- v

C A L C

Fits a median-median model equation,

y=ax+b

, to

XList and YList with frequency list, freq, and stores

the regression equation to Y

n

. XList, YList, and freq

(if specified) must have the same number of elements.
freq is the frequency of occurrence for each

corresponding data point in XList. If freq is omitted,

all values are used once.
Defaults for XList and YList are

L

1

and

L

2

.

Decimal mode set to 2:

{1,3,4,5,5,7,8,9}ÜL

3

b

Done

{1,4,2,3,4,6,7,9}ÜL

4

b Done

Med-Med L

3

,L

4

,Y

b

(

6

Menu(

"title","item1",label1[,"item2"

,

label2…]

)

‡

8

C T L

Programming command; generates a menu of up to

seven items during program execution. When you

select a menu item, the calculator branches to the

label corresponding with that item.

:PROGRAM:FRIENDS

:Menu("FRIENDS","JULIE",A,

"XIAODAN",B,"LETICIA",C,

"ROBERTO",D,"DOUGLAS",E,

"ANSIK",F,"DETER",G)

min(

valueA,valueB

)

min(

list

)

1

N U M

– or –

- v

M A T H

min(

(minimum) returns the smaller of two values or

the smallest element in one list. value can be a real

number, expression or a list.
If both values are lists, they must have the same

number of elements. If one value is a list and the

other a non-list, the non-list is paired with each

element of the list, and a list is returned.

min(3,

L

5) b

L

5

min(

L

5.2,

L

5.3) b

L

5.3

min(5,2+2) b

4

min(23,

3

4)

2

3

ModBoxPlot

See

Plot1

: Modified Box Plot