A mass attached to a spring oscillates upward and downward. The length L of the spring after t seconds is given by the function L=8-2cos(4pit) where L is measured in inches. what is the length of the spring when it is shortest? What is the length of the spring when its longest?