Math, asked by surajkr1345, 1 year ago

How to find four digit code with a few guessing number?

Answers

Answered by Anonymous
0
10,000 this has 4 zeros
9999 this has four digit code
Answered by iamalpha
2
HERE'S YOUR ANSWER

You can simply find any four digit code just by applying Permutations and Combinations.

For eg,
If you want to unlock a password of 4 digits and you know that every digit can contain numbers from 0 to 9 (i.e, 10 numbers), and if the code can have the same number repeated in all the 4 digits then,
Total trials will be = 10 × 10 × 10 × 10
= 10000 outcomes.

but, if you know that the numbers cannot be repeated,
Then total trials will be = 10×9×8×7
=5040 outcomes.
That means that you have to try 10000 times for repeating and for 5040 times for non repeating numbers.


hope helped !!
Similar questions