Question:
In how many ways can 4 letters be posted in 5 letter boxes?
Solution:
Each of the letter can be posted in anyone of the letter boxes.
This means that every letter can be posted in 5 ways.
$\therefore$ Total number of ways of posting 4 letters $=5 \times 5 \times 5 \times 5=5^{4}$