You are on page 1of 1

ME G0200 Applied Fluid Mechanics HW #1: Random walk and diffusion

A. Generate arrays of random numbers of various lengths. Show that as the size of these arrays increases the mean value and the standard deviation of the values of the array elements within each array converge to fixed values. B. Consider an array of (n x n) articles initially e!ually ositioned a art from each other by dx"# and dy"#. Allow these articles to move wal$ randomly with time in a s ace much greater than the originally occu ied s ace of (ndx x ndy). % Calculate the average s!uare distance between the articles ri and lot its ratio t . &his is the diffusion'dis ersion coefficient. to the time ste (ou are re!uired to submit) #. A re ort* which will contain the matlab rogramming you carried out and the gra hs ro erly lotted and ex lained on the same figure. %. A cd with a co y of your file with the rogram i.e. the .m file. (our rogram will be tested with the in ut data from the range mentioned above. No email su mission!!
"ue #ep$em e% 12& 201'.

You might also like