The problem asks to find the value of $r$ given the permutation equation ${^{10}\text{P}_r = 5040}$.
Recall the formula for permutations:
$^{n}\text{P}_r = \frac{n!}{(n-r)!}$
Where $n$ is the total number of items, and $r$ is the number of items to choose and arrange.
In this case, $n = 10$. Substituting the given values into the formula:
$^{10}\text{P}_r = \frac{10!}{(10-r)!} = 5040$
We need to find the value of $r$ such that the product of $r$ terms starting from 10 downwards equals 5040.
Let's expand the permutation:
We found that when $r=4$, the value matches the given ${^{10}\text{P}_r}$.
Alternatively, using the factorial expansion:
$\frac{10!}{(10-r)!} = 5040$
We know $10! = 3,628,800$. Checking the value $5040$:
$10 \times 9 \times 8 \times 7 = 5040$
Comparing $10 \times 9 \times 8 \times 7$ with $\frac{10!}{(10-r)!} = \frac{10 \times 9 \times 8 \times 7 \times 6!}{ (10-r)! }$, we see that for the equation to hold true, we must have $(10-r)! = 6!$.
This implies $10-r = 6$.
Solving for $r$:
$r = 10 - 6$
$r = 4$
The value of $r$ is 4.
The following figure is made with nine squares of length 1 cm each.

A student is standing at point P. The total number of shortest paths to reach point Q from point P, if the student walks along the boundaries of the squares only, is:
Consider the following statements (all the angles are measured in degrees) :
1. If two supplementary angles are $4x + 40$ and $10x$, then $x$ is;
2. The complementary angle of $\frac{4}{5} \times 45$ is :
3. If two complementary angles are in the ratio of $4 : 5$, then the smallest angle is :
Which of the following is correct?
Codes:
1 2 3
A rectangular wall is divided into four squares of equal size where there are two rows each having two squares. The top left square is coloured with green. If, including green, there are three colours available and each square is coloured using any one of these three colours such that no two adjacent squares get painted with the same colour; then how many colour combinations are possible ?