This setup enables determining the force constant or elastic constant of a spring by using force sensor.