what is the average ( arithmetic mean ) of all multiples of 10 from 10 to 100 inclusive ?
"this question can be solved with the average formula and ' bunching . ' we ' re asked for the average of all of the multiples of 10 from 10 to 100 , inclusive . to start , we can figure out the total number of terms rather easily : 1 ( 10 ) = 10 2 ( 10 ) = 20 . . . 10 ( 10 ) = 100 so we know that there are 10 total numbers . we can now figure out the sum of those numbers with ' bunching ' : 10 + 100 = 110 20 + 90 = 110 30 + 80 = 110 etc . since there are 10 total terms , this pattern will create 5 ' pairs ' of 110 . thus , since the average = ( sum of terms ) / ( number of terms ) , we have . . . ( 5 ) ( 110 ) / ( 10 ) = 55 answer : e"
divide(divide(multiply(add(10, 100), add(divide(subtract(100, 10), 10), const_1)), const_2), add(divide(subtract(100, 10), 10), const_1))