These labs were designed by Prof. Chris Orban for Physics 1251 at OSU Marion.
The nice part about these programming labs is that these tutorials will work with any web browser. This is accomplished using a programming framework called processing.js which is very similar to C/C++.
Follow the link above and choose windows 64-bit if you are using windows (and make sure to click "Extract" if asked), or Mac OSX if you are using a Mac.
Introduction (part 1): Programming framework
Introduction (part 2): Discussion of the units used in the programs
Lab 2. Particle Accelerator (with potential)
Lab 3. Repulsion between two point charges
Demo: Electron motion in a conductor (with resistance)
Lab 5. Magnetic force (a.k.a. Mass Spectrometer)
(Just for fun) RL circuit , code: RLcircuit.pde, functions.pde