Charge sharing sets the final voltage by dividing conserved total charge by total capacitance after the connection. This is an ideal charge-conservation voltage ledger, not a lossless-energy claim; real sharing includes switch resistance, parasitic capacitance, leakage, dielectric effects, timing, and measurement tolerance.
The final sharing voltage moves when source capacitance or source voltage changes. Exact arithmetic here means exact results for the stated model inputs; measured inputs still carry uncertainty and significant-figure limits.
highlighted = computed this step
Final voltage divides conserved charge by total capacitance
The final voltage is downstream of both source capacitors; changing either source capacitance or source voltage changes the quotient.
Vf=CtotalQtotal=24C/6F
Capacitance and voltage changes enter the same quotient
The table separates changing source capacitance from changing source voltage so the final-voltage quotient is visible both ways.