Question: 01: Consider particle P having random walk in 1D, Let N steps of equal length be taken along a line. Let be the probability of

01: Consider particle \"P\" having random walk in 1D, Let N steps of equal length be taken along a line. Let be the probability of taking a step to the right, the probability of taking a step to the left, \"a\" the number of steps taken to the right, and \"b\" the number of steps taken to the left. Write a MATLAB that calculates and plot the following parameters: Total distance covered by a molecule from the initial point. Total distance covered to the right. Total distance covered to the left. Expected Value of Number of steps towards right. Variance of steps of particles
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
