Estimate the following probabilities by simulation (we don't want to see any analytical approaches!) In your...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Estimate the following probabilities by simulation (we don't want to see any analytical approaches!) In your report explain your code and show your answers. a. You have all the black cards from a normal deck, I have all the red cards. We each choose one card from our half decks - the highest card wins. But I have managed to sneak out and throw away your 9 Of Clubs! Simulate 1000 games - how many did I win? (Ace is low.) b. There are 87 people on a bus - what is the likelihood that two of them share a birthday? c. How many people would you need to gather together before there is a 90% chance that one of them was born on the 1st Jan? Estimate the following probabilities by simulation (we don't want to see any analytical approaches!) In your report explain your code and show your answers. a. You have all the black cards from a normal deck, I have all the red cards. We each choose one card from our half decks - the highest card wins. But I have managed to sneak out and throw away your 9 Of Clubs! Simulate 1000 games - how many did I win? (Ace is low.) b. There are 87 people on a bus - what is the likelihood that two of them share a birthday? c. How many people would you need to gather together before there is a 90% chance that one of them was born on the 1st Jan?
Expert Answer:
Answer rating: 100% (QA)
To estimate the probabilities through simulation you can use Python Heres a Python code for each of ... View the full answer
Related Book For
Income Tax Fundamentals 2013
ISBN: 9781285586618
31st Edition
Authors: Gerald E. Whittenburg, Martha Altus Buller, Steven L Gill
Posted Date:
Students also viewed these accounting questions
-
Required: 1. Prepare the adjusting and correcting entries for June 2. Prepare an adjusted trial balance at June 30th, 2016 PROBLEM 3-10 (LO6) Closing Entries and Post-Closing Trial Balance Required: U
-
Planning is one of the most important management functions in any business. A front office managers first step in planning should involve determine the departments goals. Planning also includes...
-
What do you currently know and understand about toddler growth and development. What are some ways you can measure toddler growth and development? What did you learn about toddler growth and...
-
Jen and Barry's Ice Milk Company used cash to purchase a new ice milk mixer on January 1, 2013. The new mixer is estimated to have a 20,000 - hour service life. Jen and Barry's depreciates equipment...
-
A beam of X-rays with wavelength falls at a glancing angle 60.0 on a linear chain of scattering centers with period a. Find the angles of incidence corresponding to all diffraction maxima if = 2a/5.
-
On January 1, 2025, Pina Corporation issued $630,000 of 9% bonds, due in 10 years. The bonds were issued for $590,744, and pay interest each July 1 and January 1. Pina uses the effective-interest...
-
In each of the following situations, formulate the null and alternative hypotheses. a. A new product will be introduced if it is preferred by more than 70 percent of the consumers in the target...
-
Glass, Inc., began 2012 with $83,000 in cash. During 2012, Glass earned net income of $430,000, and adjustments to reconcile net income to net cash provided by operations totaled $75,000, a positive...
-
-1 0 1 b. Open Gain A = V/V 8. Draw the transfer function curve of Vo versus Vdiff of an op-amp, where Vdiff - V+ V_, for the following cases. Sweep V diff from -1V to +1V. Rails are -1V to +1V. a....
-
The G. Saussy Manufacturing company is putting out four new electronic components. Each of Saussy's four plants has the capacity to add one more product to its current line of electronic parts. The...
-
Ritchie Manufacturing Company makes a product that it sells for $160 per unit. The company incurs variable manufacturing costs of $73 per unit. Variable selling expenses are $15 per unit, annual...
-
Choose a large, global company and explore its website. Do you find multiple versions of the companys site for different countries? In what ways does the company adapt its writing style, use of...
-
Think of an organization where you worked recently. Create an organization chart for two or three levels of employees. Identify examples of upward, lateral, and downward messages you remember from...
-
Think about a negative experience you had as part of a team. What was your role in the teams failure? Without wallowing in it too much, try to identify what you could have done differently. Get in...
-
Talk with a partner in class about a conflict youre currently experiencing. Walk through the questions in Figure 4 about ambiguity, vulnerability, and loss to decide whether to engage in the...
-
In her article What Self-Awareness Really Is (and How to Cultivate It), Tasha Eurich explains four archetypes to categorize current levels of internal and external self-awarenessknowing ourselves and...
-
1. Which of the following characteristics of a matrilineal tribein North America is NOT accurate? sharing of powers in the tribal economy newly married men remained in their fathers household family...
-
The Dow Jones Industrial Average reached a high of $ 7801.63 on December 29, 1997. Recall from Example 18.4 that it reached a high of $ 1003 on November 14, 1972. The Consumer Price Index for...
-
Carol Harris, Ph.D, CPA, is a single taxpayer and she lives at 674 Yankee Street, Durham, NC 27409. Her Social Security number is 793-52-4335. Carol is an Associate Professor of Accounting at a local...
-
Dr. Ivan I. Incisor and his wife Irene are married and file a joint return for 2012. Ivan's Social Security number is 477-34-4321 and he is 48 years old. Irene I. Incisor's Social Security number is...
-
Professor Patricia (Patty) Pate is retired from the PalmSprings Culinary Arts Academy (PSCAA). She is a single taxpayer and is 68 years old. Patty lives at 98 Colander Street, Henderson, NV 89052....
-
True or False: Inflation decreases the purchasing power of money.
-
Logan is conducting an economic evaluation under inflation using the then-current approach. If the inflation rate is \(j\) and the real time value of money rate is \(d\), which of the following is...
-
What is a good working definition of inflation in 10 words or less?
Study smarter with the SolutionInn App