Three sample-state rows show that the held value follows the input source exactly. Exact arithmetic here means exact results for the stated model inputs; measured inputs still carry uncertainty and significant-figure limits.
highlighted = computed this step
Two input volts capture two held volts
With the switch closed, a 2 volt input is the source of the same 2 volt held output.
Vheld=Vin=2V
Four input volts capture four held volts
Only the source input changes. The capacitance stays 2 farads, and the held output becomes 4 volts.
Vheld=Vin=4V
Six input volts capture six held volts
The third row confirms the proportional rule: sample state copies the 6 volt input into the held node.