Forces between charged particles, energy is coming from nowhere?

1 reply · 2K views · last reply
Lost4468
Messages
3
Reaction score
0
So I've created a program in C# with the XNA libraries which is meant to simulate motion between charged particles. I drew a pic to show the problem I'm having and how I'm moving the particle.

Handwritten notes on a charge table with columns A and B, a sketch of two particles with d, dx and dy, the equation for acceleration of A, position and velocity update formulas, and a diagram of three numbered positions with distances labelled 100, 103 and 104.
 
You need to show your values and the actual working you used. For instance, the horizontal separation is (1) and (2) are both Δx ... a parameter you give the system. So the only way you get a 2 in there is if you put it there.