total = summation(math_func(x), (x, 2, 2)) is wrong. The function name is sum, not summation
total = summation(math_func(x), (x, 2, 2))
sum
summation