the total marks obtained by a student in mathematics and physics is 60 and his score in chemistry is 20 marks more than that in physics . find the average marks scored in mathamatics and chemistry together ?
"let the marks obtained by the student in mathematics , physics and chemistry be m , p and c respectively . given , m + c = 60 and c - p = 20 m + c / 2 = [ ( m + p ) + ( c - p ) ] / 2 = ( 60 + 20 ) / 2 = 40 . answer : a"
divide(add(60, 20), const_2)