Question: This week you used VPython to calculate the electric field above a 2 D plane of charge. You would have gotten something similar to the

This week you used VPython to calculate the electric field above a 2D plane of charge. You would have gotten something similar to the code shown belov We've written out the steps needed to complete the code in pseudo-code. Place the steps in order to make the code given.
Tor sach elead chunk in the x-direction
for 1 in rasge (0,sx) :
aloe = startx + isstepx
for y in rasge(e, na):
sloe = starts + j*stepa
eloudChunk = sphere(pos = vectar(xloc,1000, aloc), radius =50, color = color, red)
IistofcloudChunks. append (cloudChunk)
roet = vector (0,0,0)
0=-15
x=tes
dx=16
dx=10
inter =-100
intex =-100
whle intex & 1001
tattr =-160
wille inter 100,
Rnet =vec(0,0,0)
for ehunk is 1istorcloudChunksi
Fhet to
tntx=fntx+dx
Inftr =fnftx+dr
Calculate the electric field from the charge at the observation point and add it to the net field
For every charge in the sheet
Split the sheet into individual point charges
Reset the net electric field
For this row of observation noints
 This week you used VPython to calculate the electric field above

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!