Let, ABC be the semicircle, L is the centre of the semicircle & AL = radius of the semicircle = r
AB has a positive charge of q/2 and the length AB =

r / 2
So, linear charge density of AB =

= q /

r
BC has a negative charge of - q/2 and the length BC =

r / 2
So, linear charge density of AB = -

= - q /

r
Consider two infinitesimally small segments of dx at a distance x from B on either side at M & N. These two pints M and N are exactly symmetrical.
Now, let the electric field at the centre L of the semicircle due to the segment dx be dE. The electric fields make angles

with the line LC.
Refer to the fig.1
By symmetry, the sine components of the segments dx at M & N cancell each other as they are equal in magnitude and opposite in direction. The cosine components of the segments dx at M and N are along the same direction and gets added. Refer to the figure 2.
Charge on dx at M =

dx
Electric field at L due to the segment at M = dE =

dx / 4

0 r
2
Now, we know, x = r

( by geometry )
i.e dx = r d

Therefore, dE =

r d

/ 4

0 r
2 Now, the electric field at the centre L due to the segments at M and N
= 2dE cos

=

r cos

d

/ 2

0 r
2
The net electric field due to the semicircle ABC at the centre L
=
[0]
[
/2 ] 
r cos

d

/ 2

0 r
2 {when M is at A,

=0, M is at B,

=

/2}
=

/ 2

0 r . sin

]
/2 0 =

/ 2

0 r = q / 2
2
0 r
2
So, the correct option is (c) q/2
2
0r
2
CHEERS !!