what is the average ( arithmetic mean ) of all multiples of 10 from 10 to 500 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 500 , inclusive . to start , we can figure out the total number of terms rather easily : 1 ( 10 ) = 10 2 ( 10 ) = 20 . . . 50 ( 10 ) = 500 so we know that there are 50 total numbers . we can now figure out the sum of those numbers with ' bunching ' : 10 + 500 = 510 20 + 490 = 510 30 + 480 = 510 etc . since there are 50 total terms , this pattern will create 25 ' pairs ' of 510 . thus , since the average = ( sum of terms ) / ( number of terms ) , we have . . . ( 25 ) ( 510 ) / ( 50 ) = 255 final answer : b
divide(divide(multiply(add(10, 500), add(divide(subtract(500, 10), 10), const_1)), const_2), add(divide(subtract(500, 10), 10), const_1))