Skip to content
Permalink
8a03fa7c2f
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
Latest commit f7e0797 Feb 23, 2017 History
1 contributor

Users who have contributed to this file

4 lines (3 sloc) 102 Bytes
function E_LJ =lennard_jones(x,sigma,epsilon)
E_LJ = 4*epsilon*((sigma./x).^12-(sigma./x).^6);
end