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

  Define the regression equation

The Tons of Fun Hobby Company general manager knows she can use sales and payroll data to do an estimated regression equation and forecast sales for next year. Define the regression equation she is able to deduce from the table, and calculate her ..

  Capitalism plays in corporate decision making

Become an advocate for either the consumer or the industry. Prepare an argument explaining the major reasons why you support either the consumer or the industry. Explain the role capitalism plays in corporate decision making.

  Then analyze how this experience has changed or enhanced

visit a middle-eastern asian indian or mexican market and prepare a meal using the ingredients you find.watch and

  A wheel has a radius of 435 m how far path length does a

a wheel has a radius of 4.35 m. how far path length does a point on the circumference travel if the wheel is rotated

  Determine the velocity of the arrow after one second

If an arrow is shot upward on the moon with a velocity of 58 m/s, its height (in meters) after t seconds is given by H = 58t - 0.83t^2.

  Determine the amount of shag and sculptured carpet

Formulate a goal programming model to determine the amount of shag and sculptured carpet to produce to best meet the company's goals.

  Calculate the value of population mean

Calculate the value of population mean.

  How are a, ln, and rn related

Let A be the area under the graph of an increasing continuous function f from a to b, and let Ln and Rn be the approximations to A with n subintervals using left and right endpoints, respectively.

  Sketch the area

Use shells to find the volume of the solid formed by revolving the region bounded by the x-axis and y=4x-x^2 about the y-axis. Sketch the area. Include a typical rectangle.

  Display a matrix a and an echelon form of a

Display a matrix A and an echelon form of A. Find bases for Col A and Nul A, and then state the dimensions of these subspaces.

  Find the greatest common divisor and find polynomials

For each of the following pairs of polynomials f,g, find the greatest common divisor and find polynomials r,s such that rf + sg = g.c.d.(f,g). (a) x3 - 3x + 3, x2 - 4

  What are the independent and dependent variables

What are the independent and dependent variables?

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