A one-dimensional MRI gradient maps position to resonance frequency. Exact arithmetic here means exact results for the stated model inputs; measured inputs still carry uncertainty and significant-figure limits.
highlighted = computed this step
The gradient changes field by position
The field values are 1 T, 2 T, and 3 T in this one-dimensional training line.
B(z)=B0+Gz
Frequency follows field
With gamma 10 Hz/T, the frequencies are 10 Hz, 20 Hz, and 30 Hz. The gamma value is schematic, not a real nuclear constant.