The capacitors C1, C2 and C3 are uncharged initially and connected to A, B and C with potentials V1, V2 and V3respectively. The potential of the junction D is :
V1 + V2 + V33
C1V1 + C2V2 + C3V3C1 + C2 + C3
V1 + V2 + V3 C1C2C3C1 + C2 + C3
C1 + C2 + C3 V1 + V2 + V3V1V2V31/3
From conservation of charge
VA−VDC1=VD−VBC2+VD−VCC3V1C1+V2C2+VCC3=VDC2+C2+C3VD=C1V1+C2V2+C3V3C1+C2+C3