Answered step by step
Verified Expert Solution
Question
1 Approved Answer
1. A wheel of fortune has 15 possible results, with numbers from 1 through 15. The wheel is spun 10 times in a row. A
1. A wheel of fortune has 15 possible results, with numbers from 1 through 15. The wheel is spun 10 times in a row. A player wins if a number higher than 14 is scored once, and a number lower than 3 is scored twice. Calculate analytically the probability that a player will win the game. Write a code in a language of your choice (R, matlab, python or any other) that repeats this 10,000 times. In other words, you repeat the 10 spins of the wheel 10,000 times. Make a plot of the evolution of the probability that the player wins as a function of the amount of repetitions. In other words, you divide the amount of times the player has won by the amount of repetitions. For example: (a) Repetition 1: The player loses. The total amount of times the player has won is thus 0, and the probability that the player wins is thus 0/1. (b) Repetition 2: The player wins. The total amount of times the player has won is thus 1, and the probability that the player wins is thus 1/2. (c) Repetition 3: The player loses. The total amount of times the player has won is thus 1, and the probability that the player wins is thus 1/3. (d) Repetition 4: The player loses. The total amount of times the player has won is thus 1, and the probability that the player wins is thus 1/4. (e) Repetition 5: The player wins. The total amount of times the player has won is thus 2, and the probability that the player wins is thus 2/5
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started