There are 720 ways of codes are possible.
Explanation:
Given that the code consists of 3 digits, none of which is repeated.
We need to determine the codes that are possible.
The possible ways of codes can be determined using the permutation formula,
[tex]^{n} P_{r}=\frac{n !}{(n-r) !}[/tex]
where n is the number of choices and r is the number chosen.
Hence, substituting [tex]n=10[/tex] and [tex]r=3[/tex], we have,
[tex]^{10} P_{3}=\frac{10 !}{(10-3) !}[/tex]
Simplifying, we get,
[tex]^{10} P_{3}=\frac{10 !}{7 !}[/tex]
[tex]=\frac{10 \times 9\times8\times7!}{7 !}[/tex]
Cancelling the common terms, we get,
[tex]^{10} P_{3}=10\times9\times8[/tex]
Multiplying, we get,
[tex]^{10} P_{3}=720[/tex]
Thus, there are 720 ways of codes are possible.