Question

In: Statistics and Probability

You just purchased the lockbox below to store a spare set of keys for your house....

You just purchased the lockbox below to store a spare set of keys for your house. It allows you to set a passcode using digits from 0 to 9:

How it works:

-Each digit is either ON or OFF, so pushing the same button twice removes it from the combination (as opposed to adding it a second time to the code). E.g. pressing 2, 7, 4 or pressing 2, 7, 3, 4, 3 would produce the same code: 274

-It is a mechanical lock box (not digital) so it does not recognize the order of the buttons pushed. E.g. pressing 4, 5, 8, 1 is the same as pressing 8, 1, 4, 5: both represent the same code (4581 = 8145)

-Pressing the CLEAR button clears the last code attempted (sets all digits to OFF)

a) Explain why the correct code cannot exceed 10 digits.

b) There is no manual that comes with the lockbox. Your friend thinks the code needs to be exactly 10-digits long. If this were true, explain why this would not be a good lock box.

c) What is the probability of randomly guessing the correct code on your first attempt? Explain how you arrived at your formula.

d) Another friend suggests using 9-digit codes over 2- or 3-digit codes as they are longer and better for security. Do you agree or disagree? Explain.

Solutions

Expert Solution

a) Suppose that the number of digits in the code exceeds 10. Then there would be atleast one digit occuring twice. Suppose that digit is a. Then a is pressed more than once. If it is pressed twice, then according to the lock rule there is no a in the code. If it is pressed thrice then it means it is once in the code and so on. So there can't be no digit multiple times in the code. So maximum digits = 1+1+1+...(10 times) = 10.

b) Since the order of the code does not matter as long as the digits are same, if someone presses 0123456789 he has unlocked that lockbox. So for security reasons it is not a good lock.

c) Total number of codes possible = 210 – 1 = 1023(each digit from 0 to 9 has two possibilities – that it is in the code or it is not in the code. Also the possibility that no code is there is subtracted.) So Probability that the code is guessed ont the first time = 1/1023 ~ 0.00098

d) Number of 9 digit codes = 10C9 = 10 Number of 2 digit codes and 3 digit codes are 10C2 = 45 and 10C3 = 120 respectively , so it is safer to apply a 2 digit or 3 digit lock. So I disagree.


Related Solutions

You just purchased the lockbox below to store a spare set of keys for your house....
You just purchased the lockbox below to store a spare set of keys for your house. It allows you to set a passcode using digits from 0 to 9: How it works: -Each digit is either ON or OFF, so pushing the same button twice removes it from the combination (as opposed to adding it a second time to the code). E.g. pressing 2, 7, 4 or pressing 2, 7, 3, 4, 3 would produce the same code: 274 -It...
a realtor use a lock box to store the keys to a house that is for...
a realtor use a lock box to store the keys to a house that is for sale the access code for the lock box consist of four digit the first digit cannot be before and the last digit must be had how many different codes are available
You just found the house of your dreams. The price of the house is ​$400,000. You...
You just found the house of your dreams. The price of the house is ​$400,000. You have been qualified to get a mortagage loan with AAA Bank. The mortgage loan is for 30 years at an annual interest rate of 36​%. Part​ (A): How much are your monthly payments for the​ loan? Part​ (B): What is the balance of the mortgage loan after2 ​year(s) of​ payments? Part​ (C): After 2 years of​ payments, you want to add extra money to...
You just found the house of your dreams. The price of the house is ​$500,000. You...
You just found the house of your dreams. The price of the house is ​$500,000. You have been qualified to get a mortgage loan with AAA Bank. The mortgage loan is for 30 years at an annual interest rate of 36%. Part​ (A): How much are your monthly payments for the​ loan? Part​ (B): What is the balance of the mortgage loan after 2 ​year(s) of​ payments? Part​ (C): After 2 years of​ payments, you want to add extra money...
You just found the house of your dreams. The price of the house is ​$500,000. You...
You just found the house of your dreams. The price of the house is ​$500,000. You have been qualified to get a mortagage loan with AAA Bank. The mortgage loan is for 20 years at an annual interest rate of 24​%. A. How much are your monthly payments for the​ loan? B.What is the balance of the mortgage loan after 2 ​year(s) of​ payments? C. After 2 years of​ payments, you want to add extra money to the monthly payments...
Your friend has just purchased a house and has incurred a $150,000, 4.5% mortgage payable at...
Your friend has just purchased a house and has incurred a $150,000, 4.5% mortgage payable at $760.03 per month. After making the first monthly payment, he receives a statement from the bank indicating only $197.53 had been applied to reducing the principal amount of the loan. Your friend then calculates that at the rate of $197.53 per month, it will take 63 years to pay off the $150,000 mortgage. Discuss and explain whether your friend’s analysis is correct or not....
You just purchased a $400,000 house and gave a 20% down payment. For the remaining portion,...
You just purchased a $400,000 house and gave a 20% down payment. For the remaining portion, you obtained a 30-year mortgage at a 6% interest rate. (6 points) What are the monthly payments on this mortgage? If the house appreciates at a 3 percent annually, what will be the value of the house in ten years? In ten years, how much equity will you have on this home? Answer all questions and show work in Excel. SHOW ME IN EXCEL...
1. Your friend has just purchased a house and has incurred a $150,000, 4.5% mortgage payable...
1. Your friend has just purchased a house and has incurred a $150,000, 4.5% mortgage payable at $760.03 per month. After making the first monthly payment, he receives a statement from the bank indicating only $197.53 had been applied to reducing the principal amount of the loan. Your friend then calculates that at the rate of $197.53 per month, it will take 63 years to pay off the $150,000 mortgage. Discuss and explain whether your friend’s analysis is correct or...
You have just sold your house for $ 1,100,000 in cash. Your mortgage was originally a?...
You have just sold your house for $ 1,100,000 in cash. Your mortgage was originally a? 30-year mortgage with monthly payments and an initial balance of $ 750,000. The mortgage is currently exactly? 18½ years? old, and you have just made a payment. If the interest rate on the mortgage is 6.25 % ?(APR), how much cash will you have from the sale once you pay off the? mortgage? 1.Cash that remains after payoff of mortgage is ?$_____ (Round to...
You have just sold your house for $ 900,000 in cash. Your mortgage was originally a​...
You have just sold your house for $ 900,000 in cash. Your mortgage was originally a​ 30-year mortgage with monthly payments and an initial balance of $ 700 comma 000The mortgage is currently exactly​ 18½ years​ old, and you have just made a payment. If the interest rate on the mortgage is 5.25 % ​(APR), how much cash will you have from the sale once you pay off the​ mortgage? ​(Note: Be careful not to round any intermediate steps less...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT