title, topic, keyword
Small group, whiteboard, etc
Required in-class time for activities
Leave blank to search both

Activities

Computational Activity

120 min.

Electrostatic potential of four point charges
Students write python programs to compute and visualize the potential due to four point charges. For students with minimal programming ability and no python experience, this activity can be a good introduction to writing code in python using numpy and matplotlib.
  • electrostatic potential python
    Found in: Computational Physics Lab II course(s) Found in: Computational integrating charge distributions sequence(s)
Students write python programs to compute the potential due to a square of surface charge, and then to visualize the result. This activity can be used to introduce students to the process of integrating numerically.