Physics, Science, Programming, Deep Dives, Thoughts And Theory.
matrices to store the position and velocity vectors as well as their magnitudes. We also make a distance matrix, that stores the distance between every two molecules. This will come in handy to detect collisions. #Still in Simulation class def make_matrices(self): #Make empty matrices to store