Alice and Bob have 2n + 1 coins, each with probability of a head equal to...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Alice and Bob have 2n + 1 coins, each with probability of a head equal to 1/2. Bob tosses n + 1 coins, while Alice tosses the remaining n coins. Assuming independent coin tosses, show that the probability that after all the coins have been tossed, Bob will have gotten more heads than Alice is 1/2. Write a program, in any language, that simulates this experiment with n equal to 100. Perform 1000 trials of this experiment, and compute the relative frequency of Bob tossing more heads than Alice. relative frequency = number of trials in which Bob tossed more heads total number of trials Verify that your relative frequency is very close to 1/2. Now suppose that we do the same sequence of 1000 trials with 2n + 1 loaded coins. In particular, run all 1000 trials of the experiment, but now with the probability of heads equal to p, and do this for each p € (0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8} This should be possible by editing just a few lines of code (replacing 1/2 by a variable p which you initialize at the beginning of the program.) Does the probability that Bob tosses more heads than Alice now seem to depend on p, or is it still 1/2? Form a conjecture regarding the probability that Bob tosses more heads than Alice. Create a table giving, for each value of p € {0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8}, the relative frequency with which Bob throws more heads than Alice. Again you are running each experiment, with n = 100 and doing 1000 trials, for each value of p. Your table should be formatted similarly to the one below, р 0.2 0.3 0.4 0.5 0.6 0.7 0.8 relative frequency 0.000 0.000 0.000 0.000 0.000 0.000 0.000 where of course you replace 0.000 with your actual relative frequencies, rounded to 3 decimal places. Once your table is constructed, state your conjecture as to the probability that Bob tosses more heads, and how (or if) that probability depends on p. Alice and Bob have 2n + 1 coins, each with probability of a head equal to 1/2. Bob tosses n + 1 coins, while Alice tosses the remaining n coins. Assuming independent coin tosses, show that the probability that after all the coins have been tossed, Bob will have gotten more heads than Alice is 1/2. Write a program, in any language, that simulates this experiment with n equal to 100. Perform 1000 trials of this experiment, and compute the relative frequency of Bob tossing more heads than Alice. relative frequency = number of trials in which Bob tossed more heads total number of trials Verify that your relative frequency is very close to 1/2. Now suppose that we do the same sequence of 1000 trials with 2n + 1 loaded coins. In particular, run all 1000 trials of the experiment, but now with the probability of heads equal to p, and do this for each p € (0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8} This should be possible by editing just a few lines of code (replacing 1/2 by a variable p which you initialize at the beginning of the program.) Does the probability that Bob tosses more heads than Alice now seem to depend on p, or is it still 1/2? Form a conjecture regarding the probability that Bob tosses more heads than Alice. Create a table giving, for each value of p € {0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8}, the relative frequency with which Bob throws more heads than Alice. Again you are running each experiment, with n = 100 and doing 1000 trials, for each value of p. Your table should be formatted similarly to the one below, р 0.2 0.3 0.4 0.5 0.6 0.7 0.8 relative frequency 0.000 0.000 0.000 0.000 0.000 0.000 0.000 where of course you replace 0.000 with your actual relative frequencies, rounded to 3 decimal places. Once your table is constructed, state your conjecture as to the probability that Bob tosses more heads, and how (or if) that probability depends on p.
Expert Answer:
Answer rating: 100% (QA)
The relative frequency is the ratio of the number of trials in which Bob tossed more heads than ... View the full answer
Related Book For
Posted Date:
Students also viewed these programming questions
-
An epicyclic gear train consists of sun wheel S, a fixed internal gear E and three identical planet wheels P carried on a star-shaped planet carrier C, as shown in Fig. 15.20. The planets rotate at...
-
Since the early 1990s, woodstove sales have declined from 1,200,000 units per year to approximately 100,000 units per year. The decline has occurred because of (1) stringent new federal EPA...
-
Suppose that the probability of a head on any toss of a certain coin is p (0
-
1) What are the implications of CICs approach to staffing project teams? Is the company using them as training grounds for talented fast-trackers or as dumping grounds for poor performers? 2) How...
-
At December 31, 2017, the available-for-sale debt portfolio for Steffi Graf, Inc. is as follows. On January 20, 2018, Steffi Graf, Inc. sold security A for $15,100. The sale proceeds are net of...
-
What are the costs and benefits to an organisation of having a PMO?
-
In the Kessler International survey, what percentage of employees steal from their employers? a. 42% b. 51% c. 56% d. 79% e. None of the above
-
Kishkumen Company had the following capital structure at December 31, 2011 and 2012: The following additional information is available. (a) The conversion terms of the preferred stock and bonds at...
-
Please, the questions asked that exist here on Chegg arewrong. Which Is Better: To Rent or To Buy? The decision of whether to rent or buy housing is a personal decision that is based on both your...
-
Lessee Ltd (1.e., the lessee) signed a contract with Lessor Ltd (1.e., the lessor) to lease items of office equipment. You are provided with the following lease details: Commencement date Lease term...
-
1. The 2021 and 2020 balance sheets for Sunset Industries are provided below. The company's sales for 2021 were $1,320 million, and EBITDA was 15% of sales. Furthermore, depreciation amounted to 10%...
-
Describe how floating rate tranches can be created from fixed rate collateral.
-
________________ variables are always numerical. In Exercises 510, fill in each blank with the appropriate word or phrase.
-
A \(1500-\mathrm{kg}\) car constantly moving at \(90 \mathrm{kmph}\) accidentally crashes into a concrete wall. The impact produces \(750 \mathrm{~J}\) of sound energy. The car gains \(3.8...
-
Fill in the Blank. An impulse force has a large magnitude and acts for a very _________ period of time.
-
Fill in the Blank. Any periodic forcing function can be expanded in ___________ series.
-
Analyze Case 1 from the IE Textbook ( INTERNATIONAL entrepreneurship ) Business Incubator Subotica Ildiko Zedi...
-
Quality Chicken grows and processes chickens. Each chicken is disassembled into five main parts. Information pertaining to production in July 2012 is: Joint cost of production in July 2012 was $50. A...
-
The following graph shows the curve for a normally distributed variable. Superimposed are the curves for the sampling distributions of the sample mean for two different sample sizes. a. Explain why...
-
4, 2, 0, 2, 2 We have provided simple data sets for you to practice the basics of finding measures of variation. For each data set, determine the a. Range. b. Sample standard deviation.
-
The Kelley Blue Book provides information on wholesale and retail prices of cars. Following are age and price data for 10 randomly selected Corvettes between 1 and 6 years old. Here, x denotes age,...
-
What are three factors that influence employment opportunities?
-
How can you learn more about your own abilities, interests, and personal qualities as they relate to career planning?
-
What are three ways through which you might obtain employment experience?
Study smarter with the SolutionInn App