10 digit phone number (reps 0-9)
All possible combos?
probability of 123-456-7890 being dialed?
Has at least one 5?
P(A) = n(E)/n(S)
Where P(A) is the probability of an event A
n(E) is the number of favorable outcomes
n(S) is the total number of events in the sample space.
a)
A 10-digit phone number can be formed using 0 to 9 digits. It means every number has 10 options of digits to fill.
Total number of phone numbers = 10*10*10*10*10*10*10*10*10*10 = 10,0000000000.
b)
There will be just one case of 123-456-7890.
Hence, the probability will be 1/10,0000000000.
c)
Atleast one 5 means one or more than one 5s.
We can calculate the probability of having no 5s and then we can subtract it from 1 to get the probability of at least one 5.
Number of cases when there is no 5s = 9*9*9*9*9*9*9*9*9*9 = 9**10
Probability(at least one 5) = 1 - Probability(getting no 5s)
Probability(at least one 5) = 1 - 1/(9**10)
The probability is (9**10 - 1) / 9**10.
10 digit phone number (reps 0-9) All possible combos? probability of 123-456-7890 being dialed? Has at...
A phone number is an ordered string of ten digits. Each digit is one of 0, 1, 2, 3, 4, 5, 6, 7, 8, or 9. (a) How many phone numbers are there that do not contain any zeros? (b) How many phone numbers are there that start with 216 or 440? (c) How many phone numbers are there that start or end with 3? (d) What is the smallest number of phone numbers that guarantee at least nine of...
Find the probability that among three random digits, with each digit (0 through 9) being equally likely (so each triple equally likely): a. All three are alike. b. No two are alike. c. The first digit is 0. d. Exactly two are alike.
3. What is the probability a 9-digit Social Security number has
repeated digits? Draw and use a Venn diagram to support your
solution. Be sure to clearly identify your sets.
4. How many ways are there to deal a 6-card hand that contains
at least one Queen, at least one King, and at least one Ace? Draw
and use a Venn diagram to support your solution. Be sure to clearly
identify your sets.
3. What is the probability a 9-digit...
Use the following information to answer the next two questions Four histograms are displayed below. 2 0 1 2 345 67 89 10 0 2 45 6 789 10 123 4 5 6789 10 0 1 2 34 5 6 7 8 9 10 0 Match the description to the appropriate histogram. A distribution for the second to last digit of phone numbers sampled from students in a class (i.e., for the phone number 968-9667, the second to last digit...
3 digits are drawn independently and at random to obtain a 3-digit number. Each of the 3 digits can take integer values 1 through 9, with each integer being equally likely to be chosen. In other words, the 3-digit number can be from 111 through 999, but any 3-digit number that contains 0 is impossible. A. What is the chance that the 3-digit number is even? B. What is the chance that the 3-digit number has at least one digit...
10. AU.S. phone number consists of three sections: (1) Area code (null or three digits); (2) prefix code (three digits); and (3) postfix code (four digits). Area code - it can be null or consists of three digits Prefix code - it consists of three digits with non-ZERO or non-ONE as the first digit in the Prefix code section, i.e. 334-123-4567 is invalid because the first digit in the Prefix code is ONE. Postfix code - it consists of four...
(12 points) A software function generates a random number N digits long. Each digit is determined by randomly selecting a value from 0 through 9. All ten values are equally likely, and different digits may have the same value. Determine the minimum length N such that there is at least a 50% probability that at least one digit will have the value 0.
build a phone number from digits entered by your user. Your program will loop until 10 valid digits have been entered. It will then use those digits to display the phone number entered using the format: XXXXXXXXXX (or (XXX) XXX – XXXX for extra credit). The program will ask for a digit, it will check to see if the digit is actually between 0 and 9 inclusively. If so, the digit will be stored as the next number in the...
In a lottery, each ticket has 5 one-digit numbers 0-9 on it. (with no digit repeating twice) You win if your ticket has the digits in any order. What are your changes of winning? 1 / 252 1 / 100 1 / 148 1 / 30240
Phone Number Problem (Use Object-Oriented Programming Style. Otherwise there will be no credit) Write a C++ program that can convert any 7-digit telephone number into corresponding words where the equivalence of each digit and its corresponding characters is defined in the telephone keypad, which is shown in the following table: ABC 4 1 JKL MNO 8 TUV WXYZ In the keypad, there is no equivalence for digit 1 and 0, but in reality, the phone number might contain those two...