if x is equal to the sum of the integers from 30 to 50 , inclusive , and y is the number of even integers from 30 to 50 , inclusive , what is the value of x + y ?
since the integers from 30 - 50 are consecutive we can use the ` ` median x # of terms formula ' ' to determine x . there are 21 terms and the median is 40 . this gives a total of 21 x 40 = 840 . there are 11 even integers from 30 - 50 = y . therefore , x + y = 851 . answer : e
add(multiply(divide(add(30, 50), const_2), add(subtract(50, 30), const_1)), add(divide(subtract(50, 30), const_2), const_1))