(i) Write a function to simulate a random walk in the plane that moves up, down, left,...
Question:
(i) Write a function to simulate a random walk in the plane that moves up, down, left, and right with equal probability. Use your function to estimate the average distance from the origin after n = 1000 steps.
(ii) Modify your function to simulate a three-dimensional random walk that moves in one of six directions with equal probability. Estimate the average distance from the origin after n = 1000 steps.
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Answer rating: 50% (10 reviews)
Solution i In general the movement of a random walk up down left and right will be random with const...View the full answer
Answered By
Aricayos Apple
I'm a highly professional tutor and academic freelancer , with over 5 years of experience. I became one of best tutors in Chegg tutoring community and Course Hero having high helpful rate. I love helping students understand Business courses related, as it is my passion to tutor and and help students understand these amazing subjects as attached in my skills. I am also an expert on the subject of history related subjects since at one point had handled these subjects. I also have a bachelor's degree in bachelors of science in Business Administration from City of Malabon University in Philippines. I am currently working on getting a master's degree in the field Business Administration from City of Malabon University. Meanwhile, you can learn how to solve complex problems consistently with me.
0.00
0 Reviews
10+ Question Solved
Related Book For
Question Posted:
Students also viewed these Mathematics questions
-
Two servers A and B in a fast-food restaurant each start their first customers at the same time. After finishing her second customer, A notices that B has not yet finished his first customer. A then...
-
Consider a random walk model with the following equation: Yt = Yt -1 + 500 9 et, where et is a normally distributed random series with mean 0 and standard deviation 10. a. Use Excel to simulate a...
-
Let g be a function, and suppose that we wish to compute the mean of g(X) where X has the p.d.f. f . Suppose that we can simulate pseudo-random values with the p.d.f. f . Prove that the following are...
-
A ball of mass 0.440 kg moving east( + x direction) with a speed of 3.30m/s collides head-on with a 0.220-kg ball at rest. If the collision is perfectly elastic, what will be the speed and direction...
-
In 2007 Clearly Canadian Beverage Corporation acquired My Organic Baby Inc. (MOB), a leading Canadian producer of organic baby food. The total purchase price was $4,913,000, consisting of $369,000 in...
-
Fred gave his son Robert a rental house with an adjusted basis of $ 5 7 , 0 0 0 and an FMV of $ 5 0 , 0 0 0 . No gift tax was paid on the transfer, and Robert never personally used the home. What is...
-
Quarterly data are presented below for Company A and Company B. One of these companies is Gibson Greetings, Inc., which manufactures and sells greeting cards. The other company is Hon Industries,...
-
Moranda and Sills, LLP, has served for over 10 years as the auditor of the financial statements of Highland Bank and Trust. The firm is conducting its audit planning for the current fiscal year and...
-
case study: south africa's troubled power utility is being reset: ceo sets out how eskom, south africa's state-owned power utility, is facing a litany of challenges. the conversation africa asked...
-
Assume instead there is uniform taxation, so all individuals face the same tax price. Recall that along each individual's demand curve, the price equals the marginal rate of substitution. Thus, the...
-
The following code was used to generate the graphs in Figure 9.3. ?Modify the code to illustrate the strong law of large numbers ?for an i.i.d. sequence with the following distributions:? (i) Pois(?...
-
Make up your own hard integral to solve using Monte Carlo approximation. Do the same with a hard sum.
-
A retail trade association claims that the tax preparation methods of adults are distributed as shown in the table at the left below. A tax preparation company randomly selects 300 adults and asks...
-
1. Why? Debra Erickson in her presentation 'Just War is not a Foreign Policy' says that "In this potentially post-liberal era of international relations, circumstances may force some uncomfortable...
-
In 1956 behaviorist B. F. Skinner and humanistic psychologist Carl Rogers debated the issues of using what they had discovered about operant conditioning and learning to control human behavior....
-
Create multiple estimates of the intrinsic value of equity for Ford Tesla, Mazda and Volvo, including the use of a dividend discount, model and method of comparable. Compare your estimated values to...
-
Compare fixed pricing with dynamic pricing. Find an example of a company using a dynamic pricing strategy. What are the advantages/disadvantages of this? Do you think dynamic pricing is ethical?...
-
- The motion of a particle is defined by the relation x = 3-12 + 36t+ 30, where x and t are expressed in feet and seconds, respectively. Determine the time, the position, and the acceleration of the...
-
A group of student were asked if they carry credit cards the response are listed in the table Class credit card holder not credit card holder total Freshmen 11 49 60 Sophomore 6 34 40 Total 17 83 100...
-
1) Predict the organicproduct formed when BzCl reacts with cyclohexanol. BzCl = benzoylchloride. 2) Provide the majororganic product of the reaction below. 3) Draw the structureof the product formed...
-
Use the two-dimensional version of Jeffreys' rule to determine a prior for the trinomial distribution (cf. Exercise 15 on Chapter 2). Exercise 15 Suppose that the vector x = (x, y, z) has a trinomial...
-
Find the Jeffreys prior for the parameter a of the Maxwell distribution and find a transformation of this parameter in which the corresponding prior is uniform. p(x|a) = 2 /=7a/x exp(-1x) X 2
-
Recalculate the answer to the previous question assuming that you had a prior distribution for of mean 0.66 and standard deviation 0.115. Previous question The following data were collected by von...
-
1. Estimate Li's net worth at age 67 if his net worth grows at 5% per year, his stock fund grows at 10% per year, and his bond fund grows at 6% per year. 1. 2. Li is amazed that he will be able to...
-
Assume a parent company acquired 75% of the common stock of a subsidiary a few years ago. On the acquisition date, the fair value of the controlling interest and noncontrolling interest equaled the...
-
Explain the concept capital account of the balance of payments.
Study smarter with the SolutionInn App