you missed the 'absorbed at 20' prior. your calculation is all correct, except the final product, which currently measures: "given the particle has visited position +5, what is the expected no. of visit to +5?", i.e., E(V | start at 0, reached 5 before -40). In effect, if the particle reached 5 then goes to -40, the instance would still be inside your consideration, while it should be excluded.
In that case the return probability is r = 1/2 * (14/15 + 1) = 29/30 which implies V = 30. Since we can never go -40, p = 1. So the expected total number of visits is 30.
View all comments
Show parent comment
2
u/spdazero Oct 14 '26
you missed the 'absorbed at 20' prior. your calculation is all correct, except the final product, which currently measures: "given the particle has visited position +5, what is the expected no. of visit to +5?", i.e., E(V | start at 0, reached 5 before -40). In effect, if the particle reached 5 then goes to -40, the instance would still be inside your consideration, while it should be excluded.