Determining Maximum Amplitude of Oscillation