- #1
Hijaz Aslam
- 66
- 1
Homework Statement
Given that the circular arc wire with radius 'r' has a linear charge density ##\lambda##. What is the Electric field at the origin?
Homework Equations
##\vec{E}=\frac{kq}{r^2}## where ##k=9\times10^9## is a constant.
3. The Attempt at a Solution
I took a small segment dy ##\theta## above the x-axis with charge ##dq=\lambda dy##. Therefore ##d\vec{E}=\frac{k\lambda cos\theta dy}{r^2}## as all other charges along the y-axis cancel out each other.
Now ##cos\theta=\frac{x}{r}##. And ##x^2+y^2=r^2## is the equation of the arc.
Therefore ##cos\theta=\frac{\sqrt{r^2-y^2}}{r}##. And then proceeding to integrate ##d\vec{E}=\frac{k\lambda \sqrt{r^2-y^2} dy}{r^3}## and arrive at an answer.
But my text tackles the question the same way until, at a point it takes ##dy=rd\theta## and then substitutes and integrates ##d\vec{E}=\frac{k\lambda cos\theta d\theta}{r}## and arriving at an answer. But my answer differs from the one arrived by my textbook. Am I wrong somewhere?