a school has 4 section of chemistry in class x having 40 , 35 , 45 and 42 students . the mean marks obtained in chemistry test are 50 , 60 , 55 and 45 respectively for the 4 sections . determine the overall average of marks per student .
"required average marks = 40 × 50 + 35 × 60 + 45 × 55 + 42 × 45 / 40 + 35 + 45 + 42 = 2000 + 2100 + 2475 + 1890 / 162 = 8465 ⁄ 162 = 52.25 answer b"
divide(add(add(add(multiply(40, 50), multiply(35, 60)), multiply(45, 55)), multiply(42, 45)), add(add(add(40, 35), 45), 42))