100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
Math 302, Assignment 3 University of British Columbia MATH 302 $6.49   Add to cart

Exam (elaborations)

Math 302, Assignment 3 University of British Columbia MATH 302

 30 views  0 purchase
  • Course
  • Institution

Math 302, Assignment 3 Due Feb 1 1. In a small town, there are three bakeries. Each of the bakeries bakes twelve cakes per day. Bakery 1 has two different types of cake, bakery 2 three different types, and bakery 3 four different types. Every bakery bakes equal amounts of cakes of each type. Yo...

[Show more]

Preview 1 out of 4  pages

  • February 3, 2023
  • 4
  • 2022/2023
  • Exam (elaborations)
  • Questions & answers
avatar-seller
Math 302, Assignment 3 Due Feb 1



1. In a small town, there are three bakeries. Each of the bakeries bakes twelve cakes per day. Bakery 1
has two different types of cake, bakery 2 three different types, and bakery 3 four different types. Every
bakery bakes equal amounts of cakes of each type.
You randomly walk into one of the bakeries, and then randomly buy two cakes.
(a) What is the probability that you will buy two cakes of the same type?
(b) Suppose you have bought two different types of cake. Given this, what is the probability that you
went to bakery 2?

Solution: (a) Define the events Fi = {choose bakery i}, and E = {buy different cakes}. Then P(Fi ) = 13 ,
and we compute the conditional probabilities
6 2

6
P(E|F1 ) = 112 =
2
11
2
3 · 41 8
P(E|F2 ) = 12 =
2
11
3 2

6· 9
P(E|F3 ) = 121 =
2
11
By the law of total probability,
1 6 8 9  23
P(E) = + + = .
3 11 11 11 33
10
Therefore P(buy same type) = 33 .
(b) By Bayes,
P(F2 ) 8
P(F2 |E) = P(E|F2 ) =
P(E) 23



2. An assembly line produces a large number of products, of which 1% are faulty in average. A quality
control test correctly identifies 98% of the faulty products, and 95% of the flawless products. For every
product that is identified as faulty, the test is run a second time, independently.
(a) Suppose that a product was identified as faulty in both tests. What is the probability that it is,
indeed, faulty?
(b) What if the quality control test is only performed once?

Solution: Let
F = the event that a product is faulty,
E1 = the event that the first test result is “faulty”
E2 = the event that the second test result is “faulty”
Then, P(F ) = 1% and, since the second test is independent of the first,
P(E1 ∩ E2 |F ) = P(E1 |F )P(E2 |F ) = 0.982
P(E1 ∩ E2 |F c ) = P(E1 |F c )P(E2 |F c ) = 0.052

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

Guaranteed quality through customer reviews

Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.

Quick and easy check-out

Quick and easy check-out

You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.

Focus on what matters

Focus on what matters

Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!

Frequently asked questions

What do I get when I buy this document?

You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.

Satisfaction guarantee: how does it work?

Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.

Who am I buying these notes from?

Stuvia is a marketplace, so you are not buying this document from us, but from seller ExamsConnoisseur. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy these notes for $6.49. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

80189 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy study notes for 14 years now

Start selling
$6.49
  • (0)
  Add to cart