2015年4月21日 星期二

VPython: Electric Potential


Final Display


Code



This activity is to practice calculating the electric potential using the VPython. I created total three charges. One is positive and two are negative. And I created eight points on a ring which surrounding the charges. It turned out the electric potential is larger when the point is closer to the positive charge, and it is smaller when the point is closer to the negative charges. The electric potentials of each point of the ring are shown on the first graph.

沒有留言:

張貼留言