Wednesday, May 20, 2015

V-Python Project:



Project Objective:

  • Generate a circle of observation points around three charged particles.
  • At each observation point, calculate and display the electrical potential.

The program created was not looped. I redid the calculations at every observation point. Each location was spaced out evenly in a circle because I divided up a unit circle into 20 points and turned the degree into a radian fraction. Each unit was multiplied by a multiple of the fraction and displayed. Each calculation for the potential was made individually and attached to the appropriate observation point.





Summary:
  • V-Python can be very useful when determining the potential at observation points around charged particles. 
  • Once a program is made, we can make simple changes to the size of the charge, size of the radius, and the location of the charged particles, and we can make calculations without redoing every step. The program will still calculate the appropriate potential once the formulas and coding are in place. 
  • Looping would have made this program much simpler by creating a formula that would automatically create observation points in a circle. We could also have it automatically calculate the potential without rewriting the formula at every point. 

No comments:

Post a Comment