Let the side length of the square be a.
In △ACD,
⇒AD2 + CD2 = AC2
⇒ a2 + a2 =AC2 (AC=√2a)
However, OC = AC/2 = a/√2
Because of the diagonally opposing charges cancelling each other, the force on the centre charge will be equal and opposite according to symmetry. As a result, regardless of the charge q value, the net force on the centre charge will always be zero. To discover the value of q, we must first examine the equilibrium of any single charge at the corner.
Force on charge at C due to B,F1 = KQ2/a2
Force on charge at C due to D,F2 = KQ2/a2
Force on charge at C due to A,F4=KQ2/AC2=KQ2/2a2
Force on charge at C due to q at centre,F3=KqQ/OC2= 2KqQ/a2
Resultant of F1 and F2 (Along OC, by symmetry) = √F12+F22 = √2F1