Charge over a non-conducting ring is distributed so that the linear charge density varies as λ=λ0sinθ. What is direction of force on a charge q0 placed at the center?
From θ=0o to θ=180o, charge in the ring is positive because the value of sinθ is positive. Charge on the ring will be negative from θ=180o to θ=360o. Force will always be along Y axis.