students of a class are made to stand in rows. if 4 students are extra in a row, there would be two rows less. if 4 students are less in a row, there would be four more rows.find the number of students in the class.
Suppose the number of students in each row is x and the number of rows be y.
Then, total number of students in the class =
Now according to the question we have;
When 4 students are extra in a row;
Total number of students =
When 4 students are less in a row;
Total number of students =
Subtracting (ii) from (i) we get;
Putting the value of y in either of (i) or (ii) we get;
Therefore total number of students in the class =
Then, total number of students in the class =
Now according to the question we have;
When 4 students are extra in a row;
Total number of students =
When 4 students are less in a row;
Total number of students =
Subtracting (ii) from (i) we get;
Putting the value of y in either of (i) or (ii) we get;
Therefore total number of students in the class =