Let l = Q/L = linear charge density. The semi-circle has a length L which is half the circumference of the circle. So w can relate the radius of the circle to L by
C = 2L = 2piR ---> R = L/pi
Now define the center of the semi-circle as the origin of coordinates and define a as the angle between R and the x-axis.
we can define a small charge dq as
dq = lds = lRda
So the electric field can be written as:
dE =kdq(cos(a)/R^2 I_hat + sin(a)/R^2 j_hat)
dE = kIRda(cos(a)/R^2 I_hat + sin(a)/R^2 j_hat)
E = kI(sin(a)/R I_hat - cos(a)/R^2 j_hat)
E = pikQ/L(sin(a)/L I_hat - cos(a)/L j_hat)