finding the average in a a cosine graph.

would the average be the the middle of the y-axis for the graph?

for example, for y = cos x
would the average be 0