Let's just visualize what's going on, and then we can actually find the average. So that's my y-axis. This is my x-axis. Now over the interval between zero and three, so let's say that this is zero. This is one, two, three. It's a closed interval. When x is zero, f of zero is going to be one.