Question

Modify the craps game in LabView(VI) to calculate the probability of rolling a specific number (i.e. calculate any number the user elects) for different number of rolls- say 10, 100, 1000 etc.Dice 1 1.23 『1 DBL Total for roll 1.23 DEL Dice 2 1.23 『1

0 0
Add a comment Improve this question Transcribed image text
Answer #1

In craps game, players take turns rolling the dice. if someone is rolling when you walk up to the table, you have to wait until the next "come out" roll before you can place your bet. As soon as a shooter sevens out (rolls a seven after a point has been established), the next player become the shooter. To place a pass line bet you put your bet on the pass line before the shooter rolls his come out roll.

Now let us consider it with the help of an example.

Let you bet $5. The shooter starts off not and rolls a 7 right off the bet. you just doubled your money and now have $10. you can either take your bet (called pressing your bet). you decide to press your bet.
Now the shooter rolls an 8, so eight becomes the point. Now, you want to see another eight before you see a seven. the dealer places a white puck called a marker puck on the number eight in the place bets section of the table to mark the point. (when the blank side of the punk is showing, no point has been established.)

Now let the next roll is a 10, then a 100, then 1000 and so on. let after half of an hour on 200 comes up. you have just doubled your money again. Now you can either pickup your bet or place another one for the next roll.

By this way the craps game in LabView(VI) to calculate the probability of rolling a specific number (i.e. calculate any number the user elects) for different number of rolls- say 10, 100, 1000 etc.

Add a comment
Know the answer?
Add Answer to:
Modify the craps game in LabView(VI) to calculate the probability of rolling a specific number (i.e....
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • 2. "Craps" is a game played by rolling two fair dice. To play one round of...

    2. "Craps" is a game played by rolling two fair dice. To play one round of this game, the player rolls the dice and the outcome is determined by the following rules: If the total number of dots is 7 or 11 (a "natural"), then the player wins. If the total number of dots is 2, 3, or 12 C'craps"), then the player loses. If the total number of dots is 4, 5, 6,8,9, or 10, then this number is...

  • Problem 9 A single game of craps (a dice game) consists of at most two rolls...

    Problem 9 A single game of craps (a dice game) consists of at most two rolls of a pair of six sided dice. The ways to win are as follows: Win-the first roll of the pair of dice sums to either 7 or 1 (you win, game over, no second roll Win the first roll of the pair of dice does NOT sum to either 7 or 1 but the sum of the second roll is equal to the sum...

  • Craps

    Write a C++ game that plays Craps. Craps is a game played with a pair of dice. The shooter (the player with the dice) rolls a pair of dice and the number of spots showing on the two upward faces are added up. If the opening roll (called the ‘come out roll’) is a 7 or 11, the shooter wins the game. If the opening roll results in a 2 (snake eyes), 3 or 12 (box cars), the shooter loses,...

  • Java programming Write a simulation of the Craps dice game. Craps is a dice game that...

    Java programming Write a simulation of the Craps dice game. Craps is a dice game that revolves around rolling two six-sided dice in an attempt to roll a particular number. Wins and losses are determined by rolling the dice. This assignment gives practice for: printing, loops, variables, if-statements or switch statements, generating random numbers, methods, and classes. Craps game rules: First roll: The first roll (“come-out roll”) wins if the total is a 7 or 11. The first roll loses...

  • 3. What is the probability of rolling a four in the gambling dice game of craps...

    3. What is the probability of rolling a four in the gambling dice game of craps (given two six sided dice)? What is the probability that a player can roll a four 3 times in a row (assume that rolling the dice each time does not affect the outcome of the next roll)? 4. Population A and Population B both have a mean height of 60.0 inches with an SD of 5.0. A random sample of 40 people is picked...

  • C# Code: Write the code that simulates the gambling game of craps. To play the game,...

    C# Code: Write the code that simulates the gambling game of craps. To play the game, a player rolls a pair of dice (2 die). After the dice come to rest, the sum of the faces of the 2 die is calculated. If the sum is 7 or 11 on the first throw, the player wins and the game is over. If the sum is 2, 3, or 12 on the first throw, the player loses and the game is...

  • Create a figure showing the probability of rolling a 5 as a function of the number...

    Create a figure showing the probability of rolling a 5 as a function of the number of rolls. Don't forget to include a figure caption describing the significance of the figure. At what point does the calculated odds converge to the theoretical probability? You will want a sufficiently dense data set to show convergence (maybe below 100 go by 10, 100-1000 go by 100, above 1000 go by 1000). Also, it is possible to run multiple roll numbers to show...

  • Write a c++ program that simulates a million of games in craps. I am having a...

    Write a c++ program that simulates a million of games in craps. I am having a trouble getting to loop a million of times. I am trying to use a const for a million. This is the code so far. #include <iostream> #include <cstdlib>// contains prototypes for functions srand and rand #include <ctime>// contains prototype for function time #include <iomanip> using namespace std; int rollDice(); // rolls dice, calculates and displays sum void printstats(); int totroll = 0, games, point,...

  • Using MATlLab You are playing the board game “Risk” when your friend asks you: “Do you...

    Using MATlLab You are playing the board game “Risk” when your friend asks you: “Do you think it is more likely to roll a total of eight or nine when rolling three dice?” Develop a program to determine if the probability of rolling an eight or a nine is greater To do this, you will need to check every possible combination of dice rolls (for example: 1-1-1, 1-2-3, 6-6-6) Hint: Nested for loops to count rolls of eight and nine...

  • in c programming and c++filed Exercise 1: A Game of guessing number Set the default upper...

    in c programming and c++filed Exercise 1: A Game of guessing number Set the default upper and lower limits to be 1-100, and ask you to guess a number. If you do not guess the correct number, the program will nicely" automatically adjust the upper or the lower limits to save your day until you guess it. 2 0 12. 51 - 100 3 2 51 74 22 65 74 85 2 71 74 3 . 2 73 74 75...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT