Relationship between weight and stretch of a spring