a)
Given: The electric charges
Consider the figure below,
The electric field produced by a charge
Since O is the midpoint of line
By substituting the values for charge
By substituting the values for charge
Total electric field due to both charges is given as,
By substituting the values in the above equation, we get
Thus, the total electric field at the midpoint O is
b)
Given: A negative charge of magnitude
The electrostatic force experienced by the test charge is given as,
By substituting the given values in the above equation, we get
Test charge is negative, so negative charge at point B will repel and positive charge at point A will attract.
Thus, the magnitude of force will be