A lock code has 4 digits in a specific order, the digits are between 0-9 (so 10 total numbers to pick from). 1. How many different lock codes can there be if the digits can be repeated? For example, a code can be 0000. 2. Explain how you got your answer. 3. How many different lock codes are there if each digit may only be used once? For example, a code can not be 0103 because 0 cannot be used more than once. Explain your thinking. 4. Explain how you got your answer.
A lock code has 4 digits in a specific order, the digits are between 0-9 (so 10 total numbers to pick from). 1. How many different lock codes can there be if the digits can be repeated? For example, a code can be 0000. 2. Explain how you got your answer. 3. How many different lock codes are there if each digit may only be used once? For example, a code can not be 0103 because 0 cannot be used more than once. Explain your thinking. 4. Explain how you got your answer.
MATLAB: An Introduction with Applications
6th Edition
ISBN:9781119256830
Author:Amos Gilat
Publisher:Amos Gilat
Chapter1: Starting With Matlab
Section: Chapter Questions
Problem 1P
Related questions
Question
Expert Solution
Step 1
Introduction
In the given scenario, a lock with 4 digits has been provided. We need to find out the possible lock codes for the given scenario. There are 10 numbers that would create a password for the lock (0 to 9). Since part 1 and part 2 are related, we will provide the solutions of both parts together in one step. Similarly, part 3 and part 4 are related, we will write them together in one step.
Step by step
Solved in 3 steps
Recommended textbooks for you
MATLAB: An Introduction with Applications
Statistics
ISBN:
9781119256830
Author:
Amos Gilat
Publisher:
John Wiley & Sons Inc
Probability and Statistics for Engineering and th…
Statistics
ISBN:
9781305251809
Author:
Jay L. Devore
Publisher:
Cengage Learning
Statistics for The Behavioral Sciences (MindTap C…
Statistics
ISBN:
9781305504912
Author:
Frederick J Gravetter, Larry B. Wallnau
Publisher:
Cengage Learning
MATLAB: An Introduction with Applications
Statistics
ISBN:
9781119256830
Author:
Amos Gilat
Publisher:
John Wiley & Sons Inc
Probability and Statistics for Engineering and th…
Statistics
ISBN:
9781305251809
Author:
Jay L. Devore
Publisher:
Cengage Learning
Statistics for The Behavioral Sciences (MindTap C…
Statistics
ISBN:
9781305504912
Author:
Frederick J Gravetter, Larry B. Wallnau
Publisher:
Cengage Learning
Elementary Statistics: Picturing the World (7th E…
Statistics
ISBN:
9780134683416
Author:
Ron Larson, Betsy Farber
Publisher:
PEARSON
The Basic Practice of Statistics
Statistics
ISBN:
9781319042578
Author:
David S. Moore, William I. Notz, Michael A. Fligner
Publisher:
W. H. Freeman
Introduction to the Practice of Statistics
Statistics
ISBN:
9781319013387
Author:
David S. Moore, George P. McCabe, Bruce A. Craig
Publisher:
W. H. Freeman