Answer
The number of ways to arrange the people in a line is\[14,400\].
Work Step by Step
Calculation of number of ways to arrange the people in a line can be done with the above mentioned formula:
Compute the number of ways to arrange the people in a line using the equation as shown below:
\[\begin{align}
& _{n}{{P}_{r}}=\frac{n!}{\left( n-r \right)!} \\
& _{5}{{P}_{5}}{{\times }_{5}}{{P}_{5}}=\frac{5!}{\left( 5-5 \right)!}\times \frac{5!}{\left( 5-5 \right)!} \\
& =\frac{5\times 4\times 3\times 2\times 1}{1}\times \frac{5\times 4\times 3\times 2\times 1}{1} \\
& =14,400
\end{align}\]