def f(x):
    return 8.0 - x**2

x0 = 1.0
x1 = 2.0

oppervlakte = 0
h = (x1-x0)/6
for i in range(6):
    x = x0 + ((i + 1) * h)
    f_x = f(x)
    oppervlakte += (h * f_x)
print (oppervlakte)
