A semicircular wire is uniformly charged with linear charge density dependent on the angle from y-direction as , where is a constant. The electric field intensity at the centre of the arc is
Lets take an element at angle d as shown. Electric field due to this element is
Horizontal component dE sin will be cancelled out with opposite element, and dE cos components get added up.