Solve ulam problem by asking questions

Assignment Help Mathematics
Reference no: EM131573178

Question: Suppose someone picks a number x from a set of n numbers. A second person tries to guess the number by successively selecting subsets of the n numbers and asking the first person whether x is in each set. The first person answers either "yes" or "no." When the first person answers each query truthfully, we can find x using log n queries by successively splitting the sets used in each query in half. Ulam's problem, proposed by Stanislaw Ulam in 1976, asks for the number of queries required to find x, supposing that the first person is allowed to lie exactly once.

a) Show that by asking each question twice, given a number x and a set with n elements, and asking one more question when we find the lie, Ulam's problem can be solved using 2 log n + 1 queries.

b) Show that by dividing the initial set of n elements into four parts, each with n/4 elements, 1/4 of the elements can be eliminated using two queries

c) Show from part (b) that if ƒ (n) equals the number of queries used to solve Ulam's problem using the method from part (b) and n is divisible by 4, then ƒ (n) = f (3n/4) + 2.

d) Solve the recurrence relation in part (c) for ƒ (n).

e) Is the naive way to solve Ulam's problem by asking each question twice or the divide-and-conquer method based on part (b) more efficient?

The most efficient way to solve Ulam's problem has been determined by A. Pelc [Pe87]

Reference no: EM131573178

Questions Cloud

What fraction of the payment made at end of second year : What fraction of the payment made at the end of the second year will represent repayment of the principal?
Describe informal experiment on hypothesis : Think of an experiment you have conducted or might like to conduct. Describe your informal experiment, and then in full sentences describe
Create a use case graphic rendering : Create a use case graphic rendering that shows all actors and all use cases for the RMO CSMS marketing subsystem.
Describe one weaknesses of each of the realist and liberal : explains the primary cause of what is happening-for example. Describe one weaknesses of each of the realist, liberal, and identity perspectives.
Solve ulam problem by asking questions : Suppose someone picks a number x from a set of n numbers. A second person tries to guess the number by successively selecting subsets of the n numbers.
Region between two charged plates : The drop is deflected upward a distance of ?y=3.0mm as the drop travels through the ?x=2.0cm long region between two charged plates.
Analyze the difference between a use case and a scenario : Develop a scenario in which you would use the traditional approach over the object-oriented approach, and explain your reasons why.
Electric field outside the charge distribution : Find the electric field outside the charge distribution at a distance r=157 cm.
Pro forma balance sheet will show assets : You have a current balance sheet with liabilities of $50,000 and assets of $75,000. your pro forma balance sheet will show assets of _____ and liabilities of __

Reviews

Write a Review

Mathematics Questions & Answers

  Questions on ferris wheel

Prepare a Flexible Budget Gator Divers is a company that provides diving services such as underwater ship repairs to clients in the Tampa Bay area.

  Logistic map

This assignment has two question related to maths. Questions are related to bifurcation cascade and logistic map.

  Finding the probability of cards

This assignment has questions related to probabiltiy.

  Systems of ode

Find all the xed points, and study their stability and Draw the phase portrait of the system, as well as the graphs of the solutions in all relevant cases.

  Derive the boolean expression

Derive the Boolean Expression and construct the switching circuit for the truth table stated

  System of equations

Evaluate which equations are under-identified, just-identified, and over-identified.

  Linear programming problem

Linear programming problem consisting of only two constraints with one objective function.

  Find the natural domain

Find the natural domain of the given functions.

  Introduction to numerical methods

Compute the coecients of the polynomials using the term recurrence relation.

  Chart of the topological manifold

De?nition of smoothness of functions on a smooth manifold is chart independent and hence geometric.

  Mathematics in computing

Questions related on mathematics in computing.

  Complex problems

Complex problems

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