Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Math Expert


Home >> Math

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.

Math, Academics

  • Category:- Math
  • Reference No.:- M91883226
  • Price:- $30

Priced at Now at $30, Verified Solution

Have any Question?


Related Questions in Math

1 suppose that n 10088821 is a product of two distinct

1. Suppose that n = 10088821 is a product of two distinct primes, and Φ(n) = 10082272. Determine the prime factors of n. 2. It is easy to show that the converse of Fermat's Theorem does not hold; i.e., the congruence a n ...

Assessment taskpractical investigation- question 1 requires

Assessment Task Practical Investigation - Question 1 requires selecting reference points from the graph. It is expected that each student will choose different reference points to other students. Take note of the criteri ...

Assignment -question 1 let t and or 0 1 be a boolean

Assignment - Question 1. Let (T, ∧, ∨,', 0, 1) be a Boolean Algebra. Define ∗ : T × T → T and o : T × T → T as follows: x ∗ y := (x ∨ y)' x o y := (x ∧ y)' (a) Show, using the laws of Boolean Algebra, how to define x ∗ y ...

Question you will recommend a course of action regarding

Question: You will recommend a course of action regarding strategic planning in light of the issue the healthcare organization is facing. Be sure to address the following: 1. Provide a brief summary of the issue facing t ...

Clarity succinctness writing your name and netid1

Clarity, succinctness, writing your name and Netid: 1 Indistinguishability 1. If {X n }n is computationally indistinguishable from {Y n } n , {Y n } n is computationally indistin- guishable from {Z n } n, then (select th ...

Assignment - provide solution to the following questionsq1

Assignment - Provide solution to the following questions: Q1. Evaluate the following: ∫xsin3x dx Q2. If , then for what value of α is A an identity matrix? Q3. The line y = mx + 1 is a tangent to the curve y 2 = 4x. Find ...

Instructionsthe aim of the assignment is that the

Instructions The aim of the assignment is that the student/group studies and applies numerical methods such as Euler's method, the Improved Euler's method and the Runge-Kutta method to solve first-order differential equa ...

Questions -q1 prove the following identitiesa sinx y sinx

Questions - Q1. Prove the following identities a. sin(x + y) + sin(x - y) = 2 sin x cos y b. sec(x - y) = cos(x + y)/(cos 2 x - sin 2 y) c. tan 2 x - sin 2 x = (tan x sin x) 2 Q2. Solve the following equations for x ∈ [0 ...

Assignment - solving the five question in the very details

Assignment - Solving the five question in the very details, thanks a lot. Question - Let a ∈ P n be a point. Show that the one-point set {a} is a projective variety, and compute explicit generators for the ideal I p ({a} ...

Question 1 - for the ivp of ode y t-1e-y y1 0 find an

Question 1 - For the I.V.P of ODE y' = (t-1)e -y , y(1) = 0, find an approximation to y(1.2) using the following numerical methods with Δt = 0.1. Compare the numerical solution with the exact solution and compute the err ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As