Measuring a spring