Texas Instruments TI-30XS User Manual - Page 37
factorial, randint
UPC - 033317190379
View all Texas Instruments TI-30XS manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 37 highlights
! A factorial is the product of the positive integers from 1 to n. n must be a positive whole number { 69. RAND contains the following options: 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. Examples nPr 8 H1 3 < nCr 52 H 2 5 < ! 4 H 3 < STO 4 rand 5 L H " 1 < Copyright © 2006 Texas Instruments Incorporated 37
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
H
1
3
<
nCr
52
H
2
5
<
!
4
H
3
<
STO
4
rand
5
L
H "
1
<