Examples – Texas Instruments TI-30XS User Manual

Page 37

Advertising
background image

Copyright © 2006 Texas Instruments Incorporated

37

RAND contains the following options:

Examples

!

A factorial is the product of the positive

integers from 1 to n. n must be a positive
whole number

{

69.

rand

Generates a random real number between 0

and 1. To control a sequence of random
numbers, store an integer (seed value)

|

0 to

rand. The seed value changes randomly every

time a random number is generated.

randint(

Generates a random integer between 2
integers, A and B, where A

{

randint

{

B.

Separate the 2 integers with a comma.

nPr

8

H1

3 <

nCr

52 H 2

5 <

!

4 H

3 <

STO 4 rand 5 L H "

1 <

Advertising
This manual is related to the following products: