Positive charge Q is distributed uniformly along the positive y-axis between y=0 and y=a . A negative point charge −q lies on the positive x-axis, a distance x from the origin
Calculate the x-component of the electric field produced by the charge distribution Q at points on the positive x-axis.
Calculate the y-component of the electric field produced by the charge distribution Q at points on the positive x-axis.
E = q/4πε0r2
r2 = x2+y2
The Attempt at a Solution
So I was able to get the first part of the question relatively easily by using some techniques from the textbook, which resulted in the correct answer:
dEx = Q/4πε0x√(x2+a2)
But when I try to find the y-component, I get the answer:
dEy = (Q/(8πε0a))*(1-(x/(√x2+a2)))
This answer results in the following message from the website:
"Your answer either contains an incorrect numerical multiplier or is missing one."
I need help finding the problem since I don't know where I may have gone wrong.