2-21
u Random Extraction of List Data Elements (RanSamp#)
This function randomly extracts elements from list data and returns the results in list format.
RanSamp# (List X,
n [,m])
List X ... Any list data (List 1 to List 26, Ans, {list format data}, sub-name)
n ... Number of tries (When m = 1, the number of elements is 1 < n < List X. When m = 0,
1 <
n < 999.)
m ... m = 1 or 0 (When m = 1, each element is extracted only once. When m = 0, each
element can be extracted multiple times.)
•
m = 0 is used when the m setting is omitted.
Example Operation
List 1 = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10}
RanSamp# (List 1, 3, 1)
(Randomly extracts three elements from
List 1 and displays the result on the ListAns
screen.)
!*({)1,2,3,4,5,6,7,8
,9,10!/(})a!b(List)bw
K6(g)3(PROB)4(RAND)6(Samp)
!b(List)b,3,1)w
List 2 = {1, 3, 6, 7}
RanSamp# (List 2, 10)
(Randomly extracts 10 elements from List
2 and displays the result on the ListAns
screen. Elements are extracted repeatedly.)
!*({)1,3,6,7!/(})a
!b(List)cw
K6(g)3(PROB)4(RAND)6(Samp)
!b(List)c,10)w
k Coordinate Conversion
u Rectangular Coordinates u Polar Coordinates
• With polar coordinates, can be calculated and displayed within a range of
–180°< < 180° (radians and grads have same range).
• Be sure to specify Comp for Mode in the Setup screen.
Example Operation
Calculate
r and ° when x = 14 and y = 20.7
!m(SET UP)cccccc
1(Deg)J
K6(g)5(ANGLE)6(g)1(Pol()
14,20.7)w
Calculate
x and y when r = 25 and = 56°
2(Rec() 25,56)w
1 24.989 → 24.98979792 (r)
2 55.928 → 55.92839019 ( )
θ
1 24.989 → 24.98979792 (r)
2 55.928 → 55.92839019 ( )
θ
1 13.979 → 13.97982259 (x)
2 20.725 → 20.72593931 (y)
1 13.979 → 13.97982259 (x)
2 20.725 → 20.72593931 (y)