The sinusoidal function has a median line that is the horizontal axis midway between its maximum and minimum values. The amplitude is the maximum displacement of the curve from the median line and is calculated as the difference between the maximum and minimum values divided by two. The period is the length of the shortest interval in which the wave repeats itself.