dear professor, I should make a simulation of charged particles in a magnetic field, quite complex but I would like to do it alone because it is my idea, and I have to keep the secret of it. Quinidi I thought, to learn how to do simulations with java.

What can I read to learn to program?

another question:

how many particles can be simulated with a normal pc immersed in a magnetic field? And if same particle emits a particle and hits another particle, which in turn emits a particle, until it hits a wall?

I would like to make a simulation which includes a portion of optical, magnetic fields and photoelectric effect


PS: there is a another way but we talk of this later. ;D