the average marks of a class of 25 students is 40 and that of another class of 30 students is 60 . find the average marks of all the students ?
"sum of the marks for the class of 25 students = 25 * 40 = 1000 sum of the marks for the class of 30 students = 30 * 60 = 1800 sum of the marks for the class of 55 students = 1000 + 1800 = 2800 average marks of all the students = 2800 / 55 = 50.9 . answer : d"
divide(add(multiply(25, 40), multiply(30, 60)), add(25, 30))