We can see from the question that:
[tex]\begin{gathered} 1\text{ kilobyte = }2^{10}\text{ bytes} \\ \\ 1\text{ megabyte=}2^{20}\text{ bytes} \end{gathered}[/tex]1. And both numbers are equivalent to:
[tex]\begin{gathered} 2^{10}=1024\text{ }\rightarrow\text{kilobyte} \\ \\ 2^{20}=1048576\rightarrow\text{ megabyte} \end{gathered}[/tex]2. If we want to know how many kilobytes are in a megabyte, we can proceed as follows:
[tex]\begin{gathered} \text{ We can divide megabytes by kilobytes, and we will have how many kilobytes:} \\ \text{ there are in a megabyte:} \\ \\ \frac{\text{ Megabytes}}{\text{ kilobytes}}=\frac{2^{20}bytes}{2^{10}bytes} \\ \\ \end{gathered}[/tex]3. Now, we can apply the following exponent rule (Quotient rule for exponents):
[tex]\begin{gathered} \frac{x^m}{x^n}=x^{m-n} \\ \\ \frac{2^{20}}{2^{10}}=2^{20-10}=2^{10} \end{gathered}[/tex]Therefore, in summary, we have that there are: