Your Perfect Assignment is Just a Click Away
We Write Custom Academic Papers

100% Original, Plagiarism Free, Customized to your instructions!

glass
pen
clip
papers
heaphones

Matlab Assignment Chemical Engineering

Matlab Assignment Chemical Engineering

Problem 1. (100 points) Nanoparticle self-assembly

Interactions between nanoparticles can lead to self-assembled arrays that resemble the structure of

crystals. In this problem, you will use Metropolis Monte Carlo simulations to describe the distribution of

a set of non-charged nanoparticles. We will approximate the interaction between two particles using a

Lenard-Jones potential:

??(??????) = 4?? [( ??

?????? ) 12 ? (

??

?????? ) 6 ] ??????? ??????= |???? ? ????|

where ra and rb are the positions of particle a and b respectively, and the values for ? and ? are provided

below. You may assume that the sample at equilibrium follows a Boltzmann distribution with probability

of finding the assemble in a state q, ??(??) ? exp(?????????(??)/(??????)), where

????????(??) = ? ? ??(??????)

??

??=??+1

??

??=1

and q is the state vector containing the position of all the nanoparticles in the system. For simplicity, we

will consider the self-assembly of a group of N spherical nanoparticles of radius R in two dimensions, and

the state vector has the following structure, q = [x1 y1 x2 y2 …. xN yN]T.

i. (25 points) Write a function that computes the value of Utot for a given state vector q.

ii. (40 points) Write a function that performs a Monte Carlo routine with an N_MC Monte Carlo

steps, a constant temperature T, and an N number of nanoparticles in the initial state q_0. For

each MC step, you should attempt moves of one nanoparticle at a time for all the particles. The

function should output a matrix containing the values of the state vector at each MC step in

different columns, and a vector containing Utot for each MC step.

iii. (35 points) Use your function to generate histograms containing the distribution of

nanoparticle distances, Rab, for a set of 16 nanoparticles. Assume that the particles are initially

arranged in a square grid of 4×4 nanoparticles, with center-to-center distance between the

particles equal to 2R. Generate graphs for T = 100 K, 500 K, 1000 K. Use a minimum of 100,000

MC steps. Discuss your results.

Physical parameters: R = 5 nm, ? = 5 nm, ?/kb = 5000 K.

Order Solution Now

Our Service Charter

1. Professional & Expert Writers: Homework Free only hires the best. Our writers are specially selected and recruited, after which they undergo further training to perfect their skills for specialization purposes. Moreover, our writers are holders of masters and Ph.D. degrees. They have impressive academic records, besides being native English speakers.

2. Top Quality Papers: Our customers are always guaranteed of papers that exceed their expectations. All our writers have +5 years of experience. This implies that all papers are written by individuals who are experts in their fields. In addition, the quality team reviews all the papers before sending them to the customers.

3. Plagiarism-Free Papers: All papers provided by Homework Free are written from scratch. Appropriate referencing and citation of key information are followed. Plagiarism checkers are used by the Quality assurance team and our editors just to double-check that there are no instances of plagiarism.

4. Timely Delivery: Time wasted is equivalent to a failed dedication and commitment. Homework Free is known for timely delivery of any pending customer orders. Customers are well informed of the progress of their papers to ensure they keep track of what the writer is providing before the final draft is sent for grading.

5. Affordable Prices: Our prices are fairly structured to fit in all groups. Any customer willing to place their assignments with us can do so at very affordable prices. In addition, our customers enjoy regular discounts and bonuses.

6. 24/7 Customer Support: At Homework Free, we have put in place a team of experts who answer to all customer inquiries promptly. The best part is the ever-availability of the team. Customers can make inquiries anytime.

Homework Free Org

Your one stop solution for all your online studies solutions. Hire some of the world's highly rated writers to handle your writing assignments. And guess what, you don't have to break the bank.

© 2020 Homework Free Org