Question: Make sure you understand how the locations are generated. Modify the program by adding code inside the loop to calculate and display vec ( E
Make sure you understand how the locations are generated.
Modify the program by adding code inside the loop to calculate and display vec at each location. Use the same used in your previous programs.
Make the orange spheres invisibile
Draft saved
main.py
oofpez e # OneOverFourPiEpsilonZero
source pos vec color color red, radiuse
source.
# calculate on a circle of observation locations
rmag
theta
dtheta
while theta pi:
obs sphere posnewpos, radius colorcolor. orange, visibleTrue, vec
# insert code to calculate obs.E here
theta theta dtheta
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
