Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Consider a weighted random walk which begins at 0 and adds 1 with probability 55

ID: 3241804 • Letter: C

Question

Consider a weighted random walk which begins at 0 and adds 1 with probability 55% and adds -1 with probability 45%. Continue adding 1 or -1 with these probabilities until it reaches either 10 or -10. Use Mathematica to investigate the question, "What is the probability that this walk ends at -10?" Write code/commands to define a variable probNegative that is an estimate of this probability. Try to write code so that this estimate is accurate to within 2 decimal places, and so that the code takes at most 10 minutes to finish running.

Explanation / Answer

Going from -1 to -10 . wont change the probablity.

The probalility that random walks adds -1 is given to be 45%.

hence probability that randome walk ends at -10 will be 45%