The potential and electric field in the above set up if the consecutive charges have opposite sign is :