Office Equipment & Supplies Logo

Related Topics:

Narguin Lee Posted on Aug 21, 2019

How do I generate random integers on the casio fx cg50 without having repeats? Also how do I generate another set of numbers without having repeats from the previous list.

5 Related Answers

k24674

  • 8093 Answers
  • Posted on Jul 25, 2010

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)

ec9c0df.jpg
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.

04419d1.jpg

Ad

k24674

  • 8093 Answers
  • Posted on Jul 25, 2010

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)

ec9c0df.jpg
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.

04419d1.jpg

kakima

  • 102366 Answers
  • Posted on Dec 08, 2010

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.

kakima

  • 102366 Answers
  • Posted on Mar 10, 2011

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.

Anonymous

  • 449 Answers
  • Posted on Mar 25, 2011

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

Ad

Add Your Answer

×

Uploading: 0%

my-video-file.mp4

Complete. Click "Add" to insert your video. Add

×

Loading...
Loading...

Related Questions:

1helpful
2answers

Use RAN# button to gnerate random numbers

The RAN# button generates a random number between 0 and 1.If you want to flip a coin, see whether the generated random number is less than 0.5. Alternatively, multiply by 2 and see whether the integer portion is 0 or 1.If you want to flip a die, multiply the generated random number by 6, add 1, and ignore the fractional portion. This will give you a number in the range 1 through 6. A similar method will allow you to generate random numbers in any range.
0helpful
1answer

How do I generate a random number that is greater than 1 on a casio fx-300MS

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.
34helpful
2answers

Where is the factorial (!) button on the casio fx-9750?

There is no button but a menu tab.
In Run screen, enter the number whose factorial you want to calculate ( number can be at most equal to 69), press [OPTN][F6] to get to next page pf menus. Press then [F3](PROB) then [F1] (x!) followed by [EXE].
0helpful
1answer

How do I program the calculator to read random numbers 1-50?

The post answer the question concerning how to generate random integers. The example given is for rolling a dice. I am inserting the modification that treats your case at the end.

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 keypresses, 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)

ec9c0df.jpg
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.

04419d1.jpg
To generate random number between 1 and 50
Int(Ran#×50)+1

12helpful
1answer

How do i generate random numbers on the casio fx-9860G

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)

ec9c0df.jpg
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.

04419d1.jpg
5helpful
1answer

I have a casio fx9750GA plus and need to know how to generate random numbers. I have had a quick look at users manual but can't find it. Can you help?

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)

ec9c0df.jpg
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.

04419d1.jpg
0helpful
1answer

Generating radom itegers

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 keypresses, 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)

ec9c0df.jpg
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.

04419d1.jpg
8helpful
2answers

How to use the random number generator on the calculator.

Hello,
To access the Random number generator, press [MENU], Use arrows to select [RUN] and press [EXE].
In [RUN] press [OPTN][F6:->] to pan to the right then press [F3:PROB] then [F4:RAND#]. The command echoes on the screen.
  1. Now if you press [EXE] a number between 0 and 1 is generated.
  2. Each time you press [EXE] a new number is generated.
Although it is not documented, I found out that if you enter RAND#(n) where n is an integer, it generates a number between (0 and n)

Hope it helps.

1helpful
1answer

Ran#

A random number generator exists on this calculator. It is accessible in RUN or PGRM modes by pressing the OPTN key. If you don not see a tab PROB at the bottom of screen, press the rightmost key to move to next page.

Anyway, RAND# generates a real number between 0 and 1.

For other numbers read on.

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)

ec9c0df.jpg
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)

[OPTN].......(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.

04419d1.jpg
Not finding what you are looking for?

1,905 views

Ask a Question

Usually answered in minutes!

Top Casio Office Equipment & Supplies Experts

k24674

Level 3 Expert

8093 Answers

Arnie Burke
Arnie Burke

Level 3 Expert

7339 Answers

Ngoro

Level 3 Expert

3523 Answers

Are you a Casio Office Equipment and Supply Expert? Answer questions, earn points and help others

Answer questions

Manuals & User Guides

Loading...