Question: need matlab code Problem 3 -Lennard-Jones potential is a simple model for particle interaction given by the following: 4 (a) Plot the function in y
need matlab code
Problem 3 -Lennard-Jones potential is a simple model for particle interaction given by the following: 4 (a) Plot the function in y (V/e) vs. x (r/a) coordinates for (r/o)-0.9-2 range and confirm that there is a minimum (b) Using calculus method, determine the value of (r/o) that minimizes the function. (c) Using fminbnd or golden, find the minimum and confirm that the result is same as that from (b)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
