Question: I need help with the following using c++ code. I do not understand the probability part ]. 1Write a program that will simulate a random
I need help with the following using c++ code. I do not understand the probability part

]. 1Write a program that will simulate a random walk of N steps. Run two types of simulations a) One that uses a cubic lattice b] an o-lattice simulation a. Generate your random walk in 3-D. Assume a step length of 1. Calculate the following {for both lattice and off-lattice walks]: I Average end to end distance
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
