Answer to Question #87851 in Statistics and Probability for Raul Almidon

Question #87851
John and Chris play a game consisting of several bets at a dollar each. John wins a one dollar bet with probability p and loses with probability q. Assuming that your initial capital is A dollars while Chris's capital is B dollars and that the game continues until John loses his capital or until his capital is A + B. Make a function in Python that simulates the game including a graph that shows John's capital at all times. If A = 10, B = 12 and p = .6 estimate the probability that John loses all his capital. Also estimate the expected duration of the game.
1
Expert's answer
2019-04-16T09:42:08-0400
Dear Raul Almidon, your question requires a lot of work, which neither of our experts is ready to perform for free. We advise you to convert it to a fully qualified order and we will try to help you. Please click the link below to proceed: Submit order

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS