Electric Field due to K K

Three rods A B , C D , C E AB, CD, CE are placed in the x y xy plane has a uniform linear charge density λ = 1 \lambda=1 . Find the magnitude of (Electric field) E E at the point N ( 1 , 0 ) N(1, 0) This question is dedicated to my teacher Karan Chatrath. Take ϵ 0 = 1 \epsilon_{0}=1 . All the things are in SI units


The answer is 0.337.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

2 solutions

Steven Chase
Apr 18, 2020

Thanks to the problem author for re-posting this problem. I deleted my first solution to make adjustments to some of the nomenclature, but I then found that I didn't have an opportunity to upload a solution again. That's good to know going forward.

I renamed points D D and E E to F F and G G respectively, because I have other uses for D D and E E in my code. I used a repeated segment of script code as a poor man's function call. This way, one can simulate arbitrarily many line segments just by copying the script code segment, and changing the starting and ending coordinates ( x 1 , y 1 , z 1 ) (x_1, y_1, z_1) and ( x 2 , y 2 , z 2 ) (x_2, y_2, z_2) .

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
import math

#######################################

# General params

Num = 10**5

e0 = 1.0
k = 1.0/(4.0*math.pi*e0)

lam = 1.0 # charge density

#######################################

# Coordinates

Ax = 0.0
Ay = 1.0
Az = 0.0

Bx = 0.0
By = -1.0
Bz = 0.0

Cx = 0.0
Cy = 0.0
Cz = 0.0

Fx = 1.0
Fy = 1.0
Fz = 0.0

Gx = 1.0
Gy = -1.0
Gz = 0.0

Nx = 1.0
Ny = 0.0
Nz = 0.0

#######################################

# Initialize field 

Ex = 0.0
Ey = 0.0
Ez = 0.0

#######################################

# A to B

x1 = Ax
y1 = Ay
z1 = Az

x2 = Bx
y2 = By
z2 = Bz

Lx = x2 - x1
Ly = y2 - y1
Lz = z2 - z1

L = math.sqrt(Lx**2.0 + Ly**2.0 + Lz**2.0)

dq = lam*L/Num

dx = Lx/Num
dy = Ly/Num
dz = Lz/Num

x = x1
y = y1
z = z1

for j in range(0,Num):

    Dx = Nx - x
    Dy = Ny - y
    Dz = Nz - z

    D = math.sqrt(Dx**2.0 + Dy**2.0 + Dz**2.0)

    ux = Dx/D
    uy = Dy/D
    uz = Dz/D

    dE = k*dq/(D**2.0)

    dEx = dE * ux
    dEy = dE * uy
    dEz = dE * uz

    Ex = Ex + dEx
    Ey = Ey + dEy
    Ez = Ez + dEz

    x = x + dx
    y = y + dy
    z = z + dz

#######################################

# C to F

x1 = Cx
y1 = Cy
z1 = Cz

x2 = Fx
y2 = Fy
z2 = Fz

Lx = x2 - x1
Ly = y2 - y1
Lz = z2 - z1

L = math.sqrt(Lx**2.0 + Ly**2.0 + Lz**2.0)

dq = lam*L/Num

dx = Lx/Num
dy = Ly/Num
dz = Lz/Num

x = x1
y = y1
z = z1

for j in range(0,Num):

    Dx = Nx - x
    Dy = Ny - y
    Dz = Nz - z

    D = math.sqrt(Dx**2.0 + Dy**2.0 + Dz**2.0)

    ux = Dx/D
    uy = Dy/D
    uz = Dz/D

    dE = k*dq/(D**2.0)

    dEx = dE * ux
    dEy = dE * uy
    dEz = dE * uz

    Ex = Ex + dEx
    Ey = Ey + dEy
    Ez = Ez + dEz

    x = x + dx
    y = y + dy
    z = z + dz

#######################################

# C to G

x1 = Cx
y1 = Cy
z1 = Cz

x2 = Gx
y2 = Gy
z2 = Gz

Lx = x2 - x1
Ly = y2 - y1
Lz = z2 - z1

L = math.sqrt(Lx**2.0 + Ly**2.0 + Lz**2.0)

dq = lam*L/Num

dx = Lx/Num
dy = Ly/Num
dz = Lz/Num

x = x1
y = y1
z = z1

for j in range(0,Num):

    Dx = Nx - x
    Dy = Ny - y
    Dz = Nz - z

    D = math.sqrt(Dx**2.0 + Dy**2.0 + Dz**2.0)

    ux = Dx/D
    uy = Dy/D
    uz = Dz/D

    dE = k*dq/(D**2.0)

    dEx = dE * ux
    dEy = dE * uy
    dEz = dE * uz

    Ex = Ex + dEx
    Ey = Ey + dEy
    Ez = Ez + dEz

    x = x + dx
    y = y + dy
    z = z + dz

#######################################

# Results

print Num
print ""
print Ex
print Ey
print Ez
print ""

E = math.sqrt(Ex**2.0 + Ey**2.0 + Ez**2.0)

print E

#######################################

#>>> 
#100000

#0.337619743946
#-5.62697657954e-07
#0.0

#0.337619743946
#>>> ================================ RESTART ================================
#>>> 
#1000000

#0.337618731099
#-5.62704983227e-08
#0.0

#0.337618731099
#>>> 

@Steven Chase welcome. What is the meaning of poor man's function call?

A Former Brilliant Member - 1 year, 1 month ago

Log in to reply

It would be possible to package up that repeated code module and make it a function. And then, having defined the function, I could just pass in arguments to the function and make a function call, and the function would return the electric field contributions. Copying a script segment over and over is an alternative to repeatedly calling a function.

Steven Chase - 1 year, 1 month ago

Log in to reply

@Steven Chase I have corrected that question Electric flux exercise

A Former Brilliant Member - 1 year, 1 month ago

Log in to reply

@A Former Brilliant Member How is an electric flux generated, since the charges are in the same plane as the loop?

Steven Chase - 1 year, 1 month ago

Log in to reply

@Steven Chase @Steven Chase Sir charge are not on the same plane, due to projectile motion they are in x z x-z plane And gravity is acting in z -z direction.

A Former Brilliant Member - 1 year, 1 month ago

Log in to reply

@A Former Brilliant Member Oh, I missed the part where it says to find the answer at t = 1 t = 1 . I don't think that was there originally

Steven Chase - 1 year, 1 month ago

@A Former Brilliant Member I don't have any remaining tries since I viewed the answer

Steven Chase - 1 year, 1 month ago

Log in to reply

@Steven Chase @Steven Chase yes sir it wasn't originally there. I accept my mistake. I have reposted the question

A Former Brilliant Member - 1 year, 1 month ago

Log in to reply

@A Former Brilliant Member Ok, thanks. I'll try it

Steven Chase - 1 year, 1 month ago
Karan Chatrath
Apr 19, 2020

Thanks for posting this problem. I did this analytically as follows. Consider a charged wire where a point has the following position vector:

r p = x i ^ + y j ^ + 0 k ^ \vec{r}_p = x \hat{i} + y \hat{j} + 0 \hat{k}

The point (on the X-Y plane) at which the electric field is to be computed is:

r c = x o i ^ + y o j ^ + 0 k ^ \vec{r}_c = x_o \hat{i} + y_o \hat{j} + 0 \hat{k}

The charge on an elementary arc length near a point on the wire is:

d Q = λ ( d x ) 2 + ( d y ) 2 dQ = \lambda \sqrt{(dx)^2 + (dy)^2}

The elementary electric field is:

d E = d Q 4 π ( r c r p r c r p 3 ) d\vec{E} = \frac{dQ}{4 \pi}\left(\frac{ \vec{r}_c-\vec{r}_p}{\lvert \vec{r}_c-\vec{r}_p \rvert^3}\right)

Each of the components can be integrated (between specified limits) to obtain the resultant field in the X and Y directions.

Using this recipe to compute the electric field due to the vertical wire leads to the result:

E 1 = 2 4 π ( i ^ + 0 j ^ ) \vec{E}_1 = \frac{\sqrt{2}}{4 \pi}\left(\hat{i} + 0 \hat{j}\right)

For the wire along the line y = x y=x , the electric field is:

E 2 = 2 4 π ( i ^ j ^ ) \vec{E}_2 = \frac{\sqrt{2}}{4 \pi}\left( \hat{i} -\hat{j}\right)

For the wire along the line y = x y=-x , the electric field is:

E 3 = 2 4 π ( i ^ + j ^ ) \vec{E}_3 = \frac{\sqrt{2}}{4 \pi}\left( \hat{i} +\hat{j}\right)

The net electric field is:

E = E 2 + E 2 + E 3 = 3 2 4 π i ^ \boxed{\vec{E} = \vec{E}_2+\vec{E}_2+\vec{E}_3= \frac{3\sqrt{2}}{4 \pi} \hat{i}}

@Karan Chatrath sir for solid non-conducting sphere E ( r ) = E r 2 E(r)=Er^{2} ρ ( r ) = ? \rho (r) =? Thanks in advance

Log in to reply

Is the direction of the field radial?

Karan Chatrath - 1 year ago

Log in to reply

@Karan Chatrath sir can you please help me in this question, lim x 6000 ( s i n x ) 6000 x 2 ( s i n x ) 6000 \frac{x^{6000}-(sinx)^{6000}}{x^{2}(sinx) ^{6000}}
x tends to 0
I hope I am not disturbing you.
Thanks in advance.
If there are two method I will be very happy.



Log in to reply

You need to make use of one of Maxwell's equations (Basically Gauss's law modified)

Consider:

E = E r 2 r ^ \vec{E} = E r^2 \hat{r}

E = E ( x x 2 + y 2 + z 2 i ^ + y x 2 + y 2 + z 2 j ^ + z x 2 + y 2 + z 2 k ^ ) \vec{E} = E\left(x\sqrt{x^2+y^2+z^2} \ \hat{i} + y\sqrt{x^2+y^2+z^2} \ \hat{j} + z\sqrt{x^2+y^2+z^2} \ \hat{k} \right)

E = 4 E x 2 + y 2 + z 2 = 4 E r \nabla \cdot \vec{E} = 4E\sqrt{x^2+y^2+z^2} = 4Er

Here E E is assumed constant. From Maxwell's version of Gauss' law:

E = ρ ϵ o \nabla \cdot \vec{E} = \frac{\rho}{\epsilon_o}

ρ = 4 E ϵ o r \implies \boxed{\rho = 4E \epsilon_o r}

Karan Chatrath - 1 year ago

Log in to reply

@Karan Chatrath Thankyou very much

@Karan Chatrath Sir If one of the plates of a capacitor is halved , will there be any change in the capacitance of the capacitor and how much?
Please explain

Log in to reply

Consider the simple case where the space between the plates is small and the plates are much larger in dimensions in comparison with the space d d . In this case, the formula for electric field:

E = σ 2 ϵ o E = \frac{\sigma}{2 \epsilon_o}

still applies. So the charge on each plate will be equal due to the law of conservation of charge. Calculate the electric field due to each of the plates. Then compute the net electric field due to each of the plates. Using that constant field, the potential difference can be computed, and finally the capacitance. So yes, the charge on each plate will be the same but the capacitance will be different.

Try this calculation by yourself. Hope I made sense.

Karan Chatrath - 1 year ago

Log in to reply

@Karan Chatrath yes I have used this formula. I am getting answer as 2 3 C \frac{2}{3}C if the original capacitance was C C but the answer given in my book is 0.5 C 0.5C ?

Log in to reply

@A Former Brilliant Member I get 4 C / 3 4C/3 . This approach that I described seems logical to me. And books are not always correct.

Karan Chatrath - 1 year ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...