What is the size of the sample space

Assignment Help Mathematics
Reference no: EM131126682

1. Homer's Pizza is advertising the following deal:

• 3 pizzas, up to 4 toppings each, 10 toppings to choose from • 3 soft drinks, 5 varieties to choose from

• total cost $24.99

The pizza toppings must be unique-double, triple, or quadruple toppings are not allowed. The order of the toppings is not relevant, and 3 of the same pizza and/or 3 of the same soft drink is allowed.

Homer's Pizza is setting up an advertising campaign and would like to brag about the total number of combinations to choose from. Let's help them get this right. What is the total number of combinations of pizzas + soft drinks possible with this offer? Show all of your work-intermediate formulae and final answer.

2. How many integer solutions are there to the equation
x1 + x2 + 2x3 + x4 + x5 = 72
when

(a) xi 0,i = 1,...,5
(b) xi 1,i = 1,...,5

3. Consider the Fibonacci sequence:
0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, . . .

The n-th number in this sequence is the sum of the (n 1)-st and (n 2)-nd number, or, more
formally, the Fibonacci sequence Fn, n = 0, 1, . . . is defined as:

F0 =0; F1 =1; Fn =Fn1 +Fn2, n2.

(In lecture we hinted that (1) is embedded in Pascal's triangle by investigating "stretched diagonals". While this is true, it is not obvious how the sequence is embedded.

Redraw Pascal's triangle to make it clear how the Fibonacci sequence is embedded in the triangle, and explain the calculation required to obtain the sequence. A formal proof is not required; an observation over 12 rows of the triangle will suffice. You may use the fact that the r-th number in the n-th row of the triangle is C(n, r) when explaining the calculation.

Hint: Pascal's triangle does not need to be drawn as an isosceles triangle.)

4. An urn contains seven red balls, seven white balls, and seven blue balls. A sample of five balls is
drawn at random without replacement. Compute the probability that:

(a) The sample contains four balls of one colour and one ball of another colour. (b) All of the balls are of the same colour.

(c) The sample contains at least one ball of each colour.

5. Consider the Birthday Problem discussed in lecture. In this problem we calculate the probability that, in a group of n people, at least two have the same birthday.

Let E be the event that at least two people share a birthday. In order to calculate P (E), we first need a sample space. A possible sample space consists of n-tuples of the integers 1 . . . 365 (each of n people have a birthday on one of the 365 days of the year; leap years are not considered).

(a) List or otherwise describe the sample space for n = 200. What is the size of the sample space?

(b) For n = 200, write an algorithm (in pseudo-code or in Python) for enumerating the number of tuples in the sample space that satisfy the condition that at least two people have the same birthday. (Note that your algorithm will need to scan each tuple.)

(c) Say you have access to one of the fastest computers currently available ...China's Tianhe-2 benchmarked at 33.86-petaflops (33.86 ? 1015 floating point operations per second), and say that a scan of a single tuple in your algorithm uses 1 floating point operation. (You will learn about floating point operations in a later course; for now, rest assured this is an underestimate for the cost required to scan a tuple.) How many seconds will your algorithm use to process all of the tuples in the sample space?

(d) For n = 200, state the running time of your algorithm in years. Do some research on Google and state the running time of your algorithm in measures of millennia, epochs, eras, and eons (time spans in geochronology), and in terms of the age of the (i.e., our) universe.

6. The results of the previous question should make it clear that solving the birthday problem by scanning the sample space is not computationally feasible for n = 200. In fact, scanning the sample space is not computationally feasible for n much smaller than 200.

Fortunately, as we saw in lecture, the problem can be solved easily by first computing the complement probability P (E ) . . . the probability that everyone has a distinct birthday. Then P (E ) = 1 P (E ).

For n = 3, the sample space of approximately 49 million tuples is small enough that it could be scanned. However, for n = 3 the problem could also be solved directly with counting principles. Calculate P (E ) for n = 3 using counting principles, and confirm that it is the same as 1 P (E ).

7. A ternary string is a string consisting of 0s, 1s, and 2s. Suppose we are transmitting ternary strings through a noisy communication channel with the following known probabilities:

• 0 is sent with probability 0.3
• 1 is sent with probability 0.4
• 2 is sent with probability 0.3
• Due to noise, 0 is changed to 1 during transmission with probability 0.2
• Due to noise, 0 is changed to 2 during transmission with probability 0.1
• Due to noise, 1 is changed to 0 during transmission with probability 0.2
• Due to noise, 1 is changed to 2 during transmission with probability 0.1
• Due to noise, 2 is changed to 0 during transmission with probability 0.2
• Due to noise, 2 is changed to 1 during transmission with probability 0.1

Suppose that a 1 is received. What is the probability that a 1 was sent? You must use both Bayes' Formula and the theorem of Total Probability to answer this question. Show all of your work.

Reference no: EM131126682

Questions Cloud

This is an example of what principal of taxation : John earned $100,000 last year and paid $10,000 in income taxes. Mark earned $50,000 last year and paid $5,000 in income taxes. This is an example of what principal of taxation?
Effective interest method of amortizing bond discount : On July 1, year 1, Cobb Company issued 9% bonds in the face amount of $1,000,000 that mature in 10 years. The bonds were issued for $939,000 to yield 10%, resulting in a bond discount of $61,000.
Establishing a constructive organizational structure : develop and implement methods for establishing a constructive organizational structure and culture that fosters positive employee and employer relationships
State your keywords and which computer tax service : Juan sold IBM stock to Richard for a $10,000 loss. Richard is the husband of Juan's sister, Carla. How much of the loss can Juan deduct in the current year if Juan's taxable income is $55,000 and he has no other capital transactions?
What is the size of the sample space : Let E be the event that at least two people share a birthday. In order to calculate P (E), we first need a sample space. A possible sample space consists of n-tuples of the integers 1 . . . 365 (each of n people have a birthday on one of the 365 ..
Describe which curve will shift what effect it will have on : Describe which curve will shift (demand or supply or both), what effect it will have on price (rise or fall in price), and what will happen to quantity (rise or fall in quantity). Each line item requires a paragraph.
Why citizens do not participate in resource allocation : FINAL EXAM PAD 506: PUBLIC BUDGETING AND FINANCE. Discuss each of the seven reasons (in 1a above) why citizens do not participate in resource allocation (public budgeting) at the federal, state, and/or local levels
Develop point estimate of the population standard deviation : Select your answer -A normal distribution because np and n(1-p) are both greater than 5A normal distribution because np and n(1-p) are both less than 5A non normal distribution What is the probability that the sample proportion will be between .20 ..
Did socratess philosophical lifestyle have the potential : Did Socrates's philosophical lifestyle have the potential to "wake up" Athenians in a way that could have been useful to that society? Does the importance of being awoken in that way justify the extreme manner that Socrates chose to live and die?

Reviews

Write a Review

Mathematics Questions & Answers

  Calculating the regular payments for a loan

A man borrows $30,000 to purchase a car. He agrees to pay $1,000 per month. If the interest rate is 12% compounded monthly,

  Escher style tessellation

Escher style tessellation

  What is the angle of her ramp

If a skateboarder leaves a ramp at 25 feet per second and attains a height of 4.7 feet after one sec what is the angle of her ramp?

  How far does its tip move each second

A pendulum swings through an angle of 20° each second. If the pendulum is 55 inches long, how far does its tip move each second? If necessary, round the answer to two decimal places.

  How much does she have invested in each bond

Kelly Fisher has a total of $30,000 invested in two municipal bonds that have yields of 8% and 10% interest per year, respectively. If the interest Kelly receives from the bonds in a year is $2640, how much does she have invested in each bond?

  Determining the international marketing

Write an analysis about China Free Trade Zone, search an article from internet about China Free Trade Zone, make a summary and take a 2-3 pages' analysis.

  Find the reference temperature and the maximum deviation

Use differentials to estimate the range of temperatures that the taco might attain - find the reference temperature Tref and the maximum deviation dT; the range is the Tref - dT to Tref + dT.

  Find the derivative of the function

Find the derivative of the function and Find an equation of the tangent line to the curve at the given point.

  Find the probabilities of the both cards are spades

Suppose 2 cards are drawn without replacement from an ordinary deck of 52. Find the probabilities of the following results.

  Use the left-to-right elimination method to solve the system

Use the left-to-right elimination method to solve the system.

  Describe in complete sentences and demonstrate

Create your own radical equation. Describe in complete sentences and demonstrate the process in finding its solution(s).

  How much debt would be assigned to each individual

who were over age 18 was approximately 2.28 x ?10?^8 people if the national debt were evently didvided among every person over age 18 in the country how much debt would be assigned to each individual? Round to three significant digits.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd