Question: Use numpy and mathplotlibpyplot Write a calculate _ LJ function that includes parameters for setting and . After writing the function, perform a set of
Use numpy and mathplotlibpyplot
Write a calculateLJ function that includes parameters for setting
and
After writing the function, perform a set of calculations with
and
both equal to one. Using these values, calculate the Lennard Jones potential energy for a range of distances, r from r to r in increments of Save your results in a list.
Next, perform a set of calculations where
is equal to and
is equal to one. Then set
equal to and
equal to two. For each set of calculations, save your result in a list.
Visualize all three results on a graph using matplotlib.
In your submission, include a markdown cell that contains a reflection at least five sentences on your approach and observations.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
