subject
Engineering, 05.05.2020 17:36 shavonfriend27

Verifying the Electric Field due to a Shell of Charge [20pts]. We can show that, for a uniformly charged, very thin spherical shell centered at the origin, the electric field is given by: 10 rR where Q is the total charge on the sphere, and R is the radius of the sphere. (Note that the electric field is undefined for r= R.) In other words, inside the sphere the electric field is zero, and outside the sphere the electric field is the same as that for a point charge Q located at the origin. We would like to prove this relationship numerically using MATLAB. Design Specifications 1. Find or derive an expression for a differential element of charge dq in spherical coordinates. 2. Derive an expression for the rectangular components of the differential vector field dE at an arbitrary point in space r = (x, y, z) due to the differential element dq, located at a particular coordinate (R, 0, 0) on the surface of the sphere. That is, the expression should depend on these six quantities (plus k and Q), and should be in rectangular form, dE = (dEx, dEy, dEz), as this is the only way to add up the contributions from every differential element of charge dq. 3. Write a MATLAB script to numerically compute the total electric field at an arbitrary point in space, either inside or outside the spherical shell. Use R = 2m and Q = 5C. The coordinates (x, y, z) should be user inputs. The range of should have around 1000 points, and the range of should have twice as many points as the range of e. (And be careful with "points" vs. "intervals".) You may use k = 1 throughout, as this will make the output much easier to interpret. You should have two nested for loops for the numerical calculation of the total electric field. 4. Check your hand calculation first by computing the total charge on the sphere. In other words, if the numerical sum of every dq is not equal to the total charge , then there is no reason to compute the electric field. This will make it more likely that your differential charge element da is correct and that your nested for loops are set up correctly. 5. Check your calculation also using the given function E(r) as the analytic solution. In general, a proper check returns zero. (And in this case, a proper check returns an array of three zeros)

ansver
Answers: 2

Another question on Engineering

question
Engineering, 03.07.2019 14:10
Explain the difference laminar and turbulent flow. explain it with the shear stress and the velocity profiles.
Answers: 1
question
Engineering, 03.07.2019 23:20
Two technicians are discussing the intake air temperature (iat) sensor. technician a says that the computer uses the iat sensor as a backup to the engine coolant temperature (ect) sensor. technician b says that the powertrain control module (pcm) will subtract the calculated amount of fuel if the air measures hot. who is correct
Answers: 3
question
Engineering, 04.07.2019 18:10
Refrigerant 134a enters an insulated compressor operating at steady state as saturated vapor at -26°c with a volumetric flow rate of 0.18 m3/s. refrigerant exits at 9 bar, 70°c. changes in kinetic and potential energy from inlet to exit can be ignored. determine the volumetric flow rate at the exit, in m3/s, and the compressor power, in kw.
Answers: 1
question
Engineering, 04.07.2019 18:20
An engine runs on the ideal diesel cycle. the cycle has a compression ratio of 20 and a cutoff ratio of 2. the highest temperature in the cycle is 1200 k. if the heat into the system is 300 kj/kg of working fluid and using variable specific heats determine the work produced per mass of working fluid
Answers: 3
You know the right answer?
Verifying the Electric Field due to a Shell of Charge [20pts]. We can show that, for a uniformly cha...
Questions
Questions on the website: 13722363