Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Probability Given below is the problem 16 and its solution. Write a short program in Python for problem 16. Provide indented code and comments explaining

Probability

Given below is the problem 16 and its solution. Write a short program in Python for problem 16. Provide indented code and comments explaining your code. Thanks

image text in transcribed

Solution to Problem 16

image text in transcribed

Problem 16. We are given three coins: one has heads in both faces, the second has tails in both faces, and the third has a head in one face and a tail in the other. We choose a coin at random, toss it, and the result is heads. What is the probability that the opposite face is tails? Step 1 of 2 In this case, you are to analyze the conditional probability of the event that the two headed coin was chosen, when it is given that heads came up That is, p- P(The two headed coin was selected | heads was obtained) P(Two headed coin was selected and heads was obtained P(heads was obtained You have that there are three coins, and hence the two headed coin is chosen with one-third probability; which further yielded only heads That is P(Two headed coin was chosen and heads came up) Again, out of Heads and tails, the probability of getting heads is half P(heads came up) Comment Step 2 of 2 So P(Two headed coin was selected and heads was obtained P(heads was obtained) Since, the total probability is 1, so, the probability that tails is the other face is, So, the required probability is

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Machine Learning And Knowledge Discovery In Databases European Conference Ecml Pkdd 2010 Barcelona Spain September 2010 Proceedings Part 1 Lnai 6321

Authors: Jose L. Balcazar ,Francesco Bonchi ,Aristides Gionis ,Michele Sebag

2010th Edition

364215879X, 978-3642158797

More Books

Students also viewed these Databases questions