Shear strain begins as a visible displacement-height ratio. Exact arithmetic here means exact results for the stated model inputs; measured inputs still carry uncertainty and significant-figure limits.
highlighted = computed this step
Measure displacement and height
The top layer moves 2 m while the layer height is 4 m.
2m4m
Divide displacement by height
The shear strain is 1/2, an exact dimensionless ratio.