0 Members and 2 Guests are viewing this topic.
So in physics we were supposed to be doing a predict-the-electric-field activity, but instead I decided to spend the time writing a program that could do it for me (Axe). I think it's not too shabby, but if someone could help me fine-tune the accuracy of it a bit? In some situations it behaves oddly. Source (Axe) is in prgmA0E.
Ok, I fixed a few of the problems. The program still flips out once a test charge meets with a negative charge (I suspect a divide by 0 leading to a velocity change of 65535, but I haven't been able to fix it). Also I changed the graphics and fixed something that was wrong with one of the formulas before.