Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Python matplotlib Make a 3D plot of the electric field of an octopole, defined as follows: . Place one charge on each of the eight
Python matplotlib
Make a 3D plot of the electric field of an octopole, defined as follows: . Place one charge on each of the eight corners of a cube of side 2, centered at the origin. . For each of these, refer to exercise 10 for the shape of their electric field. (Hint: exercise 10 assumed the charge was placed at the origin. What is the field of a charge placed somewhere else?) . Make sure that each charge's nearest neighbours have the opposite charge. This makes sure that we cancel out any lower-order (monopole, dipole, quadrupole) effects at large distances. (i.e. if the charge at (-1,-1,-1) has q=1, then the charges at (1,-1,-1), (-1,1,-1) and (-1,-1,1) are all q= -1.) Normalize all vectors to the same length, to see the general orientation of the arrows, and to remove any divergence from the plot. Make a 3D plot of the electric field of an octopole, defined as follows: . Place one charge on each of the eight corners of a cube of side 2, centered at the origin. . For each of these, refer to exercise 10 for the shape of their electric field. (Hint: exercise 10 assumed the charge was placed at the origin. What is the field of a charge placed somewhere else?) . Make sure that each charge's nearest neighbours have the opposite charge. This makes sure that we cancel out any lower-order (monopole, dipole, quadrupole) effects at large distances. (i.e. if the charge at (-1,-1,-1) has q=1, then the charges at (1,-1,-1), (-1,1,-1) and (-1,-1,1) are all q= -1.) Normalize all vectors to the same length, to see the general orientation of the arrows, and to remove any divergence from the plot
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started