Brownian motion is the motion of a particle, such as a smoke or dust particle, in...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Brownian motion is the motion of a particle, such as a smoke or dust particle, in a gas, as it is buffeted by random collisions with gas molecules. Make a simple computer simulation of such a particle in two dimensions as follows. The particle is confined to a square grid or lattice L x L squares on a side, so that its position can be represented by two integers i, j = 0... L 1. It starts in the middle of the grid. In each step of the simulation, choose a random direction---up, down, left, or right---and move the particle one step in that direction. This process is called a random walk. The particle is not allowed to move outside the limits of the lattice---if it tries to do so, choose a new random direction to move in. (We choose an odd length for the side of the square so that there is one lattice site exactly in the center.) Write a program to perform a million steps of this process on a lattice with L = 101. Plot the position of the particle for different numbers of steps (100, 1000, 10000, 100000). Brownian motion is the motion of a particle, such as a smoke or dust particle, in a gas, as it is buffeted by random collisions with gas molecules. Make a simple computer simulation of such a particle in two dimensions as follows. The particle is confined to a square grid or lattice L x L squares on a side, so that its position can be represented by two integers i, j = 0... L 1. It starts in the middle of the grid. In each step of the simulation, choose a random direction---up, down, left, or right---and move the particle one step in that direction. This process is called a random walk. The particle is not allowed to move outside the limits of the lattice---if it tries to do so, choose a new random direction to move in. (We choose an odd length for the side of the square so that there is one lattice site exactly in the center.) Write a program to perform a million steps of this process on a lattice with L = 101. Plot the position of the particle for different numbers of steps (100, 1000, 10000, 100000).
Expert Answer:
Answer rating: 100% (QA)
Creating a computer simulation of a Brownian motion in 2D involves generating random steps in differ... View the full answer
Related Book For
Physics
ISBN: 978-0077339685
2nd edition
Authors: Alan Giambattista, Betty Richardson, Robert Richardson
Posted Date:
Students also viewed these programming questions
-
Explain briefly one theme that you see Alexie exploring in this story. Quote from the story to support your ideas. By Sherman Alexie April 21, 2003 NOON One day you have a home and the next you...
-
Planning is one of the most important management functions in any business. A front office managers first step in planning should involve determine the departments goals. Planning also includes...
-
1. A drying process is used to remove 3000 lbm/h of water (vapor) at steady-state from processed paper. The dryer first heats atmospheric air (state 1) at 80F, 1 atm and 60% relative humidity to 250F...
-
A child is to receive a dose of 0.5 teaspoon of cough medicine every 4 hours. If the bottle contains 4 fluid ounces, answer below Exercises. 1. The bottle of medicine contains how many doses for the...
-
Find all equilibrium points and determine their stability. dy dx y(y - 1)
-
A positively charged particle is at rest on the positive \(z\) axis in reference frame \(S\). Reference frame \(S^{\prime}\) is moving along the positive \(x\) axis of \(\mathrm{S}\), reference frame...
-
The Delta Wire Corporation was founded in 1978 in Clarksdale, Mississippi. The company manufactures high-carbon specialty steel wire for global markets and at present employs about 100 people. For...
-
which a disk A of radius r rotates about a fixed vertical axis with angular displacement q1. A bar B of length h is pinned to A such that the axis of rotation is a radial line of A. (Note this is a...
-
Calculate the NPV of the proposed overhaul of the Vital Spark, with and without the new engine and control system. To do the calculation, you will have to prepare a spreadsheet table showing all...
-
In this problem, you will write some Java code for simple operations on binary search trees where keys are integers. Assume you already have the following code and assume that the method bodies, even...
-
A solo artist performing as one of several acts has exactly one hour to be on stage. It takes him an average of 5 minutes, 10 seconds per song played, as well as a total of 10 minutes to do other...
-
Question 3: The following information has been extracted from the financial statements of a company. Use it to answer the 4 questions that follow it . When answering the questions ( filling in the...
-
What were the different crop insurance programmes operationalized in India from time to time? Why are such changes in crop Insurance are needed? Explain with an example. What are the pros and cons of...
-
A food factory uses hot water to wash and clean foods. The drained water, which has a mass flow rate of 0.1 kg/s, still have a temperature of 62C. Consider a concept design solution of waste heat...
-
Do we need Relative valuation of free cash flow to debt capital to evaluate potential target company in m&a?
-
A 2.0 kg ball is fired horizontially toward a hill with a speed of 12.50 m/s as shown in the picture. Assuming that friction is small, what is the maximum height, h, the ball will reach above the...
-
A container holds 2.0 mol of gas. The total average kinetic energy of the gas molecules in the container is equal to the kinetic energy of an 8.0 10-3-kg bullet with a speed of 770 m/s. What is the...
-
Two point charges, + 5.0μC and 2.0μC, are separated by 5.0 m. What is the electric potential energy? r=5.0m-
-
A friend says that electric current "follows the path of least resistance." Is that true? Explain.
-
Using Faraday's law, show that if a magnetic dipole antenna's axis makes an angle with the magnetic field of an EM wave, the induced emf in the antenna is reduced from its maximum possible value by...
-
James Halperin, co-chair of Heritage Auctions, was interviewed about his experiences auctioning rare coins. Noting that when the auction house first opened in the 1970s, I used to proofread every...
-
An opinion column in the Wall Street Journal argued that Americans enjoy comparative advantages in [service] sectors such as construction and engineering, but global trade in services is weighed down...
-
Catherine Rampell is an economics writer for the Washington Post. In an article in 2023, she observes that the average U.S. tariff rate on mens underwear is 11.5 percent. The average rate on womens...
Study smarter with the SolutionInn App