Step 1 :The problem describes a right triangle with a 30 degree angle. We know that the side opposite the 30 degree angle (the width of the river) is half the length of the hypotenuse. In this case, the hypotenuse is the 40 ft the surveyor walked.
Step 2 :Therefore, the width of the river should be half of 40 ft, or 20 ft.
Step 3 :Final Answer: The exact width of the river from \(A\) and \(B\) is \(\boxed{20}\) ft.