0
How I do this thing on Python?
I want to simulate a molecular Dynamics, but I dont know How to do this thing, I need create a box with particles and this particles need to be in random position, using a equation of interaction, at the end that particles will show a hexagonal Pattern, because the distance will be the same. help.
6 Respuestas
0
Here is a start:
https://code.sololearn.com/cW8oBM2g3Wq1/?ref=app
0
From there you can make the equation you talked about.
0
you could explain? I'm complete beginer on programing
0
may*
0
In that code I just created a Box class which is initialized with 100 particles by default.
Each particle is initialized with a random position x and y.
But I've done enough already. The rest is with you.
0
thanks, I understand now ✌️