An infinite number of charges each equal to q are placed along x axis at x=1 , x=2 , x=4, x=8 and so on . Find the electric field at the point where x=0 due to this setup of charges and what will be the electric field if inthe above setup the consecutive charges have opposite sign.?

Since the point charges are along the same straight line,the intensities at x=0 are also along the x-axis.

We know that,

**
**