Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Exercise 4 (4 pts). Let A be a two-sided error Monte Carlo algorithm that decides a language L so that either answer is correct with

Exercise 4 (4 pts). Let A be a two-sided error Monte Carlo algorithm that decides a language L so that either answer is correct with probability 0.6. Answer the following questions (1 pt for each correct answer):

3. Suppose that x is a yes instance and you run A on x for 100 times. What is the probability that the number of yes answers returned by A is less than 30? Hint. Use the Chernoff-bound inequality Pr[|X pk| > pk] < e 2 4 pk with p = 0.6 and k = 100. Find the largest value of such that if X < 30 then |Xpk| > pk. Using these , p, k, find the Chernoff bound for the required probability.

4. Explain how you can use A (as a subroutine) to decide the same language so that either answer is correct with probability 0.9. Hint. Use the Amplification Lemma with k = 8 ln(1/) 2 .

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

Visual Basic Net Database Programming

Authors: Rod Stephens

1st Edition

0789726815, 978-0789726810

More Books

Students also viewed these Databases questions

Question

=+What is the procedure for labor relations in the workplace?

Answered: 1 week ago

Question

=+ Are ballots compulsory?

Answered: 1 week ago