Compressed horizontal spring with an applied force

An example figure from the Spring Generator.

Two rows, each a spring k fixed to a hatched wall with a block m on a hatched floor: in the upper row the spring is at its natural length, in the lower row it is squashed by x, marked from a dashed line at the natural end, and an applied force F pushes the block toward the wall
A spring on a floor, fixed to a wall, drawn at its natural length and again squashed by x, measured from the dashed line where its free end was. The applied force F pushes the block toward the wall, and the coil is drawn shorter with the same number of turns, so it looks like the same spring pushed in.

Editing opens it in the Spring Generator with these settings, to change anything and copy or download your own.

Free to use in your tests, worksheets, slides or anything else, no credit needed. Public domain under CC0 1.0. How to reuse our figures

More Spring examples