SOURCE: how do i generate random numbers on the casio
The random number generator function is called Ran# and can be accessed
in RUN mode by pressing:
[OPTN] [F6] [F3] (PROB) [F4] to access the (Ran#) function
In the paragraph above, the bold text in square brackets indicates key presses,
while the text in parentheses represents the menus that appear at the
bottom of the calculator screen. This also assumes there are no menus on
the bottom of the screen when you begin. If PROB is already on the
screen, then the [F6] key is not necessary, just press [F3] then [F4] at
this point.
The Ran# function generates a random decimal number
between 0 and 1. If you need to generate a number with a higher range,
then there may be extra steps involved. For example, to choose a random
number between 0 and 100, you would enter:
Ran#×100 or Ran#(100)
Let's
say you want to simulate a dice roll, where you get an integer between 1
and 6. Your first step would be to do:
Ran#×6
This will
give you a random decimal number between 0 and 6. But we need an
integer, not a decimal. To make it an integer, you would change this to:
Int(Ran#×6)
Press [OPTN] [F6] [F4] (NUM) [F2] to access the (Int)
This
now gives you an integer between 0 and 5. We just need to add 1 to the
result.
Int(Ran#×6)+1
The result should be an integer
between 1 and 6.
SOURCE: I have a casio fx9750GA plus and need to know how ...
The following uses keystrokes and screen captures from the FX-9750GII but the essential information is the same. Use the F6 key to move to next page of TABS (those at the bottom of screen) until you find the TAB that interests you (PROB, RAND#, INT, etc.)
The random number generator function is called Ran# and can be accessed
in RUN mode by pressing:
[OPTN] [F6] [F3] (PROB) [F4] to access the (Ran#) function
In the paragraph above, the bold text in square brackets indicates key presses,
while the text in parentheses represents the menus that appear at the
bottom of the calculator screen. This also assumes there are no menus on
the bottom of the screen when you begin. If PROB is already on the
screen, then the [F6] key is not necessary, just press [F3] then [F4] at
this point.
The Ran# function generates a random decimal number
between 0 and 1. If you need to generate a number with a higher range,
then there may be extra steps involved. For example, to choose a random
number between 0 and 100, you would enter:
Ran#×100 or Ran#(100)
Let's
say you want to simulate a dice roll, where you get an integer between 1
and 6. Your first step would be to do:
Ran#×6
This will
give you a random decimal number between 0 and 6. But we need an
integer, not a decimal. To make it an integer, you would change this to:
Int(Ran#×6)
Press [OPTN] [F6] [F4] (NUM) [F2] to access the (Int)
This
now gives you an integer between 0 and 5. We just need to add 1 to the
result.
Int(Ran#×6)+1
The result should be an integer
between 1 and 6.
SOURCE: how do i generate random
Use the rand() function. If you give it a positive integer argument n, it will return a random integer in the range in the interval [1, n]. You'll find rand() in the MATH/PROBABILITY menu.
SOURCE: How do I generate a
The random number function always generates a number between zero and one. You can convert this to a random number in any range by a suitable combination of multiplications and additions. For example, if you want a random number between zero and ten, multiply the generated random number by 10. If you want a random number between one and ten, multiply the generated random number by 9 and then add 1.
If you want to simulate the roll of a six-sided die, multiply the generated random number by 6, add 1, and ignore the fractional portion. This will give you a 1, 2, 3, 4, 5, or 6 with more-or-less equal probability.
SOURCE: how to generate random numbers
Use the random number function, RAN#
Manual:
http://support.casio.com/pdf/004/fx-82ES_83ES.etc_Eng.pdf
1,905 views
Usually answered in minutes!
×