what is the amplitude of this function?

what is the amplitude of this function?
Answer
Explanation:
Step1: Recall Amplitude Definition
Amplitude of a periodic function (like sine/cosine) is the maximum distance from the midline (average of max and min) to a peak (or trough). The formula is ( \text{Amplitude} = \frac{\text{Max Value} - \text{Min Value}}{2} ).
Step2: Identify Max and Min Values
From the graph, the maximum ( y )-value (peak) is ( 2 ), and the minimum ( y )-value (trough) is ( -2 ).
Step3: Calculate Amplitude
Substitute into the formula: ( \frac{2 - (-2)}{2} = \frac{4}{2} = 2 ).
Answer:
2