answersLogoWhite

0


Best Answer

If you just want to roll a die and not learn how to do it, you can type "roll a die" into Google, and it will have a six-sided die for you to roll right on that page. Other sizes of dice rollers will be available in the search results as well. If you want to learn how to do it in Excel though, that is below:

If you want to simulate the outcome of throwing a pair of dice (two die), it is easy and I will explain how to do this with Excel.

A single die has a discrete uniform distribution, with values from 1 to 6. Some programs have a built in function for computing random values. Excel does not, but it does have a built in continuous random number generator rand() from 0 to 1. Rand() will generate numbers above 0 and below 1, so if I multiply the numbers by 6, I will have numbers above 0 and below 6. I will take this number and use the int function to round down the number to the next lowest whole number, so now I have discrete numbers from 0 to 5. I can add one to these numbers and now I have random numbers 1 to 6.

So, in Excel you can use int(rand()*6)+1 to obtain the random numbers. I can put this equation in a second cell, and add them together. You can copy this equation many times and obtain many simulated throws of dice. In Excel, you can hit the F9 key and execute this program, obtaining different random numbers.

User Avatar

Wiki User

9y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What's one of the random number generators of a pair of dice?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

How does a random number generator work?

Computer-based random number generators are usually not truly random. Many of these generators choose a result starting with the milliseconds clock on the machine the application is used on. This can be used for video games, virtual dice rolling, and other situations where true randomness is not terribly important. Both false randomness and true randomness rely on algorithms to produce numbers that tell the system what result it should display.


How do you make dice roll a certain number?

You don't. The rolling of dice is a uniformly random proposition. Cheating at dice is illegal, and WikiAnswers does not give information about illegal activity.


Rolling a dice and flipping a coin is?

These are random, assuming fair dice or fair coin.


Regular dice of 6 whats the probability of rolling a 4?

1


In a dice roll whats the probability that rolling no. is 4?

1/12


How would you go about creating a programme to simulate dice rolls for Warhammer 40k?

Create a random number generator going between 1 - 6


How many edges does dice have?

A die had 12 edges. The number of edges that dice have will depend on the number of dice!


What is a different event that is the same as what is the probability that if you roll the dice you'll get the number 3?

What is the probability that the letter P is picked when a letter is picked at random from the word STUPID!


How do you roll a good point during a dice game?

There is no way to do that unless you cheat and use loaded dice. The outcome of rolling fair dice is a purely random event and there is no way to control that.


How high of number dice sets are available?

The highest number on a single "die" from a dice set is six. Therefore, the highest number available that one could roll on a dice set would be 6 multiplied by the number of dice thrown.


What is the lowest number you can get when two dice are rolled?

The lowest number will be obtained by getting lowest number on both of the dice if its a 6 sided dice (normal kind) then the lowest will be 2


How do you get dice in Mafia Wars?

You get Dice in mafia wars by playing their lottery game and matching 3 numbers. If you match 3 numbers, you are given a random lottery item. There are 6 lottery items. 1 of which is Dice.