beautypg.com

Radian, Radian entry: r, Rand – Texas Instruments TI-86 User Manual

Page 353: Randbin

background image

Chapter 20: A to Z Function and Instruction Reference

341

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

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

Radian

-

m

Radian

Sets radian angle mode.

In

Radian

angle mode:

sin (

p/2) b

1

sin 90 b

.893996663601

Radian entry:

r

MATH ANGLE menu

number

r

or

(

expression

)

r

Designates a real number or expression as radians,
regardless of the angle mode setting.

In

Degree

angle mode:

cos (

p/2) b

.999624216859

cos (

p/2)

r

b

0

list

r

Designates each element in a real list as radians.

cos {

p/2,p}

r

b

{0

L

1}

rand

MATH PROB menu

rand

Returns a random number between 0 and 1.

To control a random number sequence, first store an
integer seed value to

rand

(such as

0

rand

).

You may have different results for the first
two examples:

rand b

.943597402492

rand b

.146687829222

0¶rand:rand b

.943597402492

0¶rand:rand b

.943597402492

randBin(

MATH PROB menu
(randBi shows on menu)

randBin(

#ofTrials

,

probabilityOfSuccess

,

#ofSimulations

)

Returns a list of random integers from a binomial
distribution, where #ofTrials

‚ 1 and

0

 probabilityOfSuccess  1. The #ofSimulations is an

integer

‚ 1 that specifies the number of integers

returned in the list.

A seed value stored to

rand

also affects

randBin(.

1¶rand:randBin(5,.2,3) b

{0 3 2}

randBin(

#ofTrials

,

probabilityOfSuccess

)

Returns a single random integer.

0¶rand:randBin(5,.2) b

1