Use the graph below to answer the question that follows:

cosine graph with points at 0, negative 1 and pi over 2, 3, and pi, negative 1

What are the amplitude, period, and midline of the function?