6. The ages of the students of a class are in A.P., whose common difference is months. If the youngest boy is years old and the sum of the ages of all the students of the class is years. Find the numbers of students in the class.
Step 1. Note the given data.
Given : Age of youngest boy
Common difference in ages of students
Sum of ages of all the students of the class
Let the number of students be .
Step 2. Find the first term, common difference, and sum in months.
Let, First term is
Common difference
And sum,
Step 3. Find the number of students.
The formula for the sum of terms in A.P is-
The sum of terms of the AP is
Step 4. Solve using a quadratic equation.
Now, we put the values as-
shouldn't be negative.
Hence, the number of students in the class is .