Documentos de Académico
Documentos de Profesional
Documentos de Cultura
Lennard Jones
Lennard Jones
pyplot as plt
import numpy as np
# LE PEDIMOS LOS DATOS DE EPSILON Y SIGMA
# AL USUARIO
e= float(input("epsilon: "))
s= float (input("sigma: "))
# NÚMERO DE PASOS
n=20
x0=0.5
x = np.linspace(0.5,5.0,100)
y = potencial(x)
plt.plot(x,y,'b-')
plt.show()