evaluate ( 12 + 22 + 32 + . . . + 102 )
"we know that ( 12 + 22 + 32 + . . . + n 2 ) = 1 / 6 n ( n + 1 ) ( 2 n + 1 ) putting n = 10 , required sum = 1 / 6 x 10 x 11 x 21 = 385 option c"
multiply(divide(add(102, 12), const_2), subtract(12, const_1))