Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Copy your program and paste it herer. Now extend it by adding a second observation location at location ( : 3 1 0 - 4

Copy your program and paste it herer.
Now extend it by adding a second observation location at location (:310-4,-710-4,0:)m. Use the SAME scal Note that this location is the same distance from the source charge, so the magnitude of vec(E) should not change.
main.py
oofpez =9 e9 # OneOverFourPiEpsilonZero
source , color=color, red, radius =2e-5
source. q=23e-9
obs = sphere pos =vec(,2e-4,0), radius =2e-5, color = color orange, visible =False,E= vector (0,0,0)
attach_arrow(obs,"E", scale=0.3e-12)
#calculate E
r= obs.pos - source.pos
obs. E=(oofpez * source. qmag(r)****2** hat (r))
print ('E', obs.E, "mag(E)", mag(obs.E))
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions