Question: Problem 4 : Random Walk Filename: bel RandomWalk.m Write a script to help Bel Bel lis confused most days. Bel lives in an 8 block
Problem : Random Walk
Filename:
bel RandomWalk.m
Write a script to help Bel
Bel lis confused most days. Bel lives in an block universe, where Space G is at block and Fe is at block He lives blocks from Fes and blocks from Space G two of his favorite companies. IE: Bel starts at block # He really cares more about Space G but knows that more eyes and dollars are on Fes, and so he has decided to use a random walk strategy to decide which place he will work at each day.
At each step of his random walk, he has a likelihood he will go towards Fes and a likelihood that he will go towards Space G Compute the probabilities for his arrival at Fes and Space G assuming Belarts at his home.
NOTE: While not needed for this problem, please be prepared to know how to make something like this into a function.
What would the inputs and outputs be
How would you construct it differently?
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
