# Question: You have 5 and your opponent has 10 You flip

You have $5 and your opponent has $10. You flip a fair coin and if heads comes up, your opponent pays you $1. If tails comes up, you pay your opponent $1. The game is finished when one player has all the money or after 100 tosses, whichever comes first. Use simulation to estimate the probability that you end up with all the money and the probability that neither of you goes broke in 100 tosses.

## Relevant Questions

The file S02_03.xlsx contains data from a survey of 399 people regarding a government environmental policy.a. Which of the variables in this data set are categorical? Which of these are nominal; which are ordinal?b. For each ...Assume a very good NBA team has a 70% chance of winning in each game it plays. During an 82-game season what is the average length of the teamâ€™s longest winning streak? What is the probability that the team has a winning ...Suppose you have invested 25% of your portfolio in four different stocks. The mean and standard deviation of the annual return on each stock are shown in the file S16_38.xlsx. The correlations between the annual returns on ...A company is trying to determine the proper capacity level for its new electric car. A unit of capacity provides the potential to produce one car per year. It costs $10,000 to build a unit of capacity and the cost is charged ...It costs a pharmaceutical company $40,000 to produce a 1000-pound batch of a drug. The average yield from a batch is unknown but the best case is 90% yield (that is, 900 pounds of good drug will be produced), the most likely ...Post your question