Check intermediate results in a lattice-target investigation
A marker starts at the origin. Each of 4 steps independently chooses E,N,W or S with probability1/4 each. Unless a changed scale is stated, each step is1 unit. An outcome is an ordered direction sequence; different sequences can end at the same point. Only the final endpoint is checked
For this supplied path the step length is 2 units. Directions in time order: W, S, S, S. The circular target has squared radius 8 square units
\[A=\{(x,y):x^2+y^2\le8\}\]