The average weight of a class is 40 kg. If a student with a weight of 60 kg joins the class, the new average weight becomes 42 kg. Now, the total number of student in the class is
Let total number of students be x.
Then, the sum of total weight of class = 40x
If a student with weight 60 kg joins the class, the new average weight becomes 42 kg.
⇒ 40x + 60 = 42(x + 1)
⇒ 40x + 60 = 42x + 42
⇒ 42x - 40x = 60 - 42
⇒ 2x = 18
⇒ x = 9
Hence, the total number of students in class = 10.