Bonjour,
Très bien, peut servir chez nous aussi.
Hi
I would like to add some comments in English..
For your Python code it is better to read the data prepared as an ASCII file using np.loadtxt() - see a zip file that I have attached. So one should not change the code every time. I have allowed myself to replot your data... The code is simple, but not all our students can reproduce it.
It would be maybe better to use a smaller NdFeB magnet to approach it closer in order to have a larger interval of the distance r. One have to pay attention to fridge magnets, they are usually magnetized in an alternating way to hook better (Halbach magnets).
Très bien, peut servir chez nous aussi.
Hi
I would like to add some comments in English..
For your Python code it is better to read the data prepared as an ASCII file using np.loadtxt() - see a zip file that I have attached. So one should not change the code every time. I have allowed myself to replot your data... The code is simple, but not all our students can reproduce it.
It would be maybe better to use a smaller NdFeB magnet to approach it closer in order to have a larger interval of the distance r. One have to pay attention to fridge magnets, they are usually magnetized in an alternating way to hook better (Halbach magnets).