Question

Please show all steps for credit. Thank you. A function H(x) hashes an input x to...

Please show all steps for credit. Thank you. A function H(x) hashes an input x to an integer uniformly distributed between 1 and 10. If there are 100 random inputs, what is the probability that at least two have the same output?

0 0
Add a comment Improve this question Transcribed image text
Answer #1

UNIFORM DISTRIBUTION
PDF of uniform distribution f(x) = 1 / ( b - a ) for a < x < b
b = maximum Value
a = minimum Value
f(x) = 1/(b-a) = 1 / (10-1) = 1 / 9 = 0.1111
I.
mean = a + b / 2
=(1+10)/2
=5.5
II.
standard deviation = sqrt ( ( b - a ) ^ 2 / 12 )
=sqrt(10-1)^2 / 12
=2.5981

the probability that at least two have the same output
P(X < 2) = (2-1) * f(x)
= 1*0.1111
= 0.1111
p(X>=2) =1-p(X<2)
p(X>=2) = 1-0.1111
p(X>=2)= 0.8889

Add a comment
Know the answer?
Add Answer to:
Please show all steps for credit. Thank you. A function H(x) hashes an input x to...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Please be clear and show all steps. Please specify how to get f(x) and f(y) and also specify how to get the limits of th...

    Please be clear and show all steps. Please specify how to get f(x) and f(y) and also specify how to get the limits of the integration. i will give it a LIKE. Thank you. Two points are selected randomly on a line of length L so as to be on opposite sides of the mid- point of the line. [In other words, the two points X and Y are independent random variables such that X is uniformly distributed over (0,...

  • PLEASE SHOW DETAILED STEPS. THANK YOU. 1. A random variable X has a normal distribution N(5,3.5)....

    PLEASE SHOW DETAILED STEPS. THANK YOU. 1. A random variable X has a normal distribution N(5,3.5). Find P(X>0) 2. A random variable Xhas an exponential distribution Exponential (2.5). Find P(X < 0.75) Show the calculator input for your answer. 3. Mary is looking for someone with change of $1. She estimates that each person she asks has a 25% probability of having the right change. What is the probability that Mary will have to ask at least four people in...

  • please explain all steps and show work thank you! K. Section 2.1 Find the indicated function...

    please explain all steps and show work thank you! K. Section 2.1 Find the indicated function values. h(x) -2 -2 a. h (-2) b. h (1) c. For what values of x is h(x) = -1?

  • Please explain and show all work 3· Le t x represent the number of credit cards...

    Please explain and show all work 3· Le t x represent the number of credit cards a student has. A random sample of 100 students at a large university was taken and the results are in the table below: Credit NumberRelative xStudentsPr) 12 P(x) Cards of Frequencyx .P(x) 45 25 10 TOTAL 100 1.00 a) Construct a probability distribution histogram and comment on its shape b) What is the probability a randomly selected student has at least two credit cards?...

  • Please show all work and steps. Any help will be appreciated and thank you for your...

    Please show all work and steps. Any help will be appreciated and thank you for your time! Train A's distance is not given. Two trains of pass through the same intersection at different times. Knowing that Train B accelerates from rest at 100 m/min2 and reaches the crossing 10 min after Train A passed through. Determine the relative velocity of Train B with respect to Train A and the distance between the fronts of each train 2 min after Train...

  • Please show all steps, thank you 1. Determine the type of singularity of the function. If...

    Please show all steps, thank you 1. Determine the type of singularity of the function. If it is a pole, determine the order of the pole. (a) f(z) = 20 at z = 3 (b)f(x) = sinat z = 0.

  • Please show all work/steps on how to solve these. The correct answers are shown in the...

    Please show all work/steps on how to solve these. The correct answers are shown in the screenshot, but I need to have the work/steps for each of these that lead to the correct answer. Thank you. X 5.3.18 Question is graded. A computer can be classified as either cutting-edge or ancient. Suppose that 97% of computers are classified as ancient. (a) Two computers are chosen at random. What is the probability that both computers are ancient? (b) Five computers are...

  • Please explain and show the steps very clear, also solve all a, b and c. thank...

    Please explain and show the steps very clear, also solve all a, b and c. thank you, Please consider the cireuit shown below R. fl) C-4 a. Please fmd the transfer function from the input fe) to the output (). Please leave your answer in terms of R. (10 points) t y(t). Please leave b. Please design R so that impulse response has the form h(t) -Ae-* +Be-qt, i.e. it contains a decaying exponential term proportional to e-3. Also, please...

  • Can you show all the steps please? A salt tank contains 50 lbs of salt dissolved...

    Can you show all the steps please? A salt tank contains 50 lbs of salt dissolved in a 300 gallon tank. A brine mixture with a concentration of 2 lbs of salt per gallon is pumped into the tank at a rate of 3 gallons per minute. The mixture is distributed uniformly in the tank and the mixture is drained at the same rate of 3 gallons per minute input rate of brine 3 gal/min constant 300 gal A Set...

  • please show all steps, thank you 2. Determine if a point x = -1, y =...

    please show all steps, thank you 2. Determine if a point x = -1, y = 2 is - a non-degenerate critical point - a local maximum or minimum of a function f(x, y) = xy2 + x2 – 2.cy + 4y2 + 2.c - 14y.

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT