This problem asks us to find the number of different ways a student can select a set of courses when there are specific requirements, namely that some courses must be taken.
Let's identify the key information given in the problem:
The fact that 2 courses are compulsory simplifies the selection process. It means these 2 courses are automatically part of the student's chosen set. Therefore, the student doesn't need to make a choice for these courses; they are already included.
The student needs to select a total of \(n-2\) courses. Since 2 of these are compulsory, the student must choose the remaining courses from the non-compulsory ones.
The additional courses must be chosen from the courses that are not compulsory. To find the number of available non-compulsory courses:
The problem now reduces to selecting \(n-4\) courses from the \(n-2\) available non-compulsory courses. Since the order in which the student selects these remaining courses doesn't matter, we use the combination formula.
The formula for combinations is:
\(C(k, r) = \frac{k!}{r!(k-r)!}\)where:
Identify the values for \(k\) and \(r\) for our problem:
Substitute these values into the combination formula:
\(C(n-2, n-4) = \frac{(n-2)!}{(n-4)!((n-2) - (n-4))!}\)Simplify the term \(((n-2) - (n-4))\) in the denominator:
\((n-2) - (n-4) = n - 2 - n + 4 = 2\)The formula now becomes:
\(C(n-2, n-4) = \frac{(n-2)!}{(n-4)! 2!}\)Expand the factorial \((n-2)!\) in the numerator to simplify the expression:
\((n-2)! = (n-2) \times (n-3) \times (n-4)!\)Substitute this back into the equation:
\(C(n-2, n-4) = \frac{(n-2) \times (n-3) \times (n-4)!}{(n-4)! \times 2!}\)Cancel out the common term \((n-4)!\) from the numerator and denominator:
\(C(n-2, n-4) = \frac{(n-2) \times (n-3)}{2!}\)Calculate the value of \(2!\):
\(2! = 2 \times 1 = 2\)This leads to the final result:
\(C(n-2, n-4) = \frac{(n-2)(n-3)}{2}\)The number of ways a student can choose \((n-2)\) courses out of \(n\) courses, given that 2 courses are compulsory, is \(\frac{(n-2)(n-3)}{2}\). The condition \(n > 4\) ensures that \(n-4\) is a non-negative integer and is less than or equal to \(n-2\), making the combination calculation valid.
If the number of selections of r as well as (n + r) things from 5n different things are equal, then what is the value of r?
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 ?