Question: Using python, randomly generate the number - 1 or 1 , both with equal probabilities, for 5 steps. If - 1 means to take 1
Using python, randomly generate the number or both with equal probabilities, for steps. If means to take step back, and means to take step foward, Simulate this times and generate a histogram and fit it to a normal distribution curve. Please do write some comments or explanations at the side of your code thank u
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
