k=1.3807E-23;D=93.4*k;r0=4.43E-10;alpha=1.166E10; % These are my variables for Morse equation
r=1E-10:1E-12:1E-9;V=D*(1-exp(-alpha*(r-r0))).^2;plot(r,V)axis([3.5E-10 9E-10 -1.0E-22 4.5E-21])xlabel('Atomic Speration in meters')ylabel('Potential Energy in Joules') %This is the plot of the Morse Equation
I'm trying to fit this plot to Lennard-Jones(12-6). D(((r0/r)^12)-2*(r0/r)^6) is the Lennard-Jones(12-6). I want to fit it to this, but I don't know how since I don't have any coefficients.
Best Answer