The maximum value of the function can be observed when x = pi. In this case the maximum value is y = 4. The minimum value of the function can be observed when x = 0 or when x = 2pi. In this case the minimum value is y = -4. The peak-to-peak amplitude of the function is A = 8. The zero-peak amplitude of the function is A = 4.