Let's say that there's a box of height, h, length, l, and width, w, and within the box there's a proton. Thus it's certain that the proton would be inside the box.
A slide is then put halfway along the length of the box. Thus the proability that the proton is in one side of the box is 0.5...