English: The RKKY interaction is a long-range interaction between magnetic moments in a metal. This plot shows the energy of the interaction as a function of distance. The energy oscillates with distance, decaying as 1/r^3. The oscillations are caused by the interaction of the magnetic moments with the conduction electrons in the metal. The RKKY interaction is responsible for the magnetic properties of many metals, including ferromagnetism, antiferromagnetism, and spin glass behavior.
```python
import numpy as np
import matplotlib.pyplot as plt
def rkkY_interaction(r):
return (r * np.cos(5 * r) + np.sin(5 * r)) / r**4
r = np.linspace(0.1, 10, 1000)
E = rkkY_interaction(r)
to share – to copy, distribute and transmit the work
to remix – to adapt the work
Under the following conditions:
attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.
Please help improve this media file by adding it to one or more categories, so it may be associated with related media files (how?), and so that it can be more easily found.
Please notify the uploader with
{{subst:Please link images|File:RkkY interaction.svg}} ~~~~
Captions
Add a one-line explanation of what this file represents