- #1
eximius
- 29
- 0
I'm not looking for the answer, I just want some help with understanding the question. The main thing I'm stuck on is the characteristic binding energy and the characteristic molecular size. I've tried searching for these but I'm finding a lot of different stuff.
All to be done in Python.
F = (-24*bind)*(((2.0/r)*(sigma/r)**12) -((1.0/r)*(sigma/r)**6))
This is what I've done so far. I'm not even sure if the formula function is correct. Because the plot I get begins at a high value fort the Force but falls quickly to zero and remains at zero.
Any and all help would be greatly appreciated. Thanks
Homework Statement
All to be done in Python.
Homework Equations
F = (-24*bind)*(((2.0/r)*(sigma/r)**12) -((1.0/r)*(sigma/r)**6))
The Attempt at a Solution
This is what I've done so far. I'm not even sure if the formula function is correct. Because the plot I get begins at a high value fort the Force but falls quickly to zero and remains at zero.
Code:
def lgfunc(bind,sigma,r):
'''
Function to calculate force between two particles using
Lennard-Jones formula
'''
F = (-24*bind)*(((2.0/r)*(sigma/r)**12) -((1.0/r)*(sigma/r)**6))
return F
#For H2 -
bind = 4.48*1.6e-19
sigma = 2.92e-10
r = linspace(0,5e-9,50000)
plot(r,lgfunc(bind,sigma,r),'r.')
Any and all help would be greatly appreciated. Thanks