for all even integers n , h ( n ) is defined to be the sum of the even integers between 2 and n , inclusive . what is the value of h ( 18 ) / h ( 10 ) ?
"mean = median = ( first + last ) / 2 and sum = mean * number of terms h ( 18 ) = [ ( 2 + 18 ) / 2 ] * 9 = 90 h ( 10 ) = ( 2 + 10 ) / 2 ] * 5 = 30 h ( 18 ) / h ( 10 ) = ( 90 ) / ( 30 ) = 3 answer : b"
divide(divide(multiply(add(18, 2), add(divide(subtract(18, 2), const_2), const_1)), const_2), divide(multiply(add(divide(subtract(10, 2), const_2), const_1), add(2, 10)), const_2))