First, you hiked south for 3 miles. This means you covered a distance of 3 miles in a southern direction.
Next, you turned east and hiked for another 3 miles. This means you covered another 3 miles in an easterly direction.
Finally, you turned north and hiked for 3 miles. This means you covered a third 3 miles in a northerly direction.
Now, you have hiked a total of 3 miles south, 3 miles east, and 3 miles north. This means you have formed a right triangle where the northward hike is the hypotenuse, and the southern and eastern hikes are the legs of the triangle.
To determine the length of the hypotenuse, you can use the Pythagorean theorem, which states that the square of the length of the hypotenuse (in this case, the northward hike) is equal to the sum of the squares of the lengths of the other two sides (the southern and eastern hikes).
So, let's denote the length of the northward hike as 'a', the length of the southern hike as 'b', and the length of the eastern hike as 'c'. According to the Pythagorean theorem:
a^2 + b^2 = c^2
Since we know the lengths of the southern and eastern hikes, we can substitute them into the equation:
3^2 + 3^2 = c^2
9 + 9 = c^2
18 = c^2
Taking the square root of both sides, we find:
c = √18
The square root of 18 is approximately 4.24.
Now, according to the problem, you encountered a bear inside your tent. Since you have formed a right triangle with the bear in the northern direction, we can say that the bear is at the northwestern corner of your tent.
In a right triangle, the side opposite the right angle (which is the hypotenuse) is the longest side. Therefore, the bear is closest to the side of the tent that is perpendicular to the hypotenuse (the eastern side).
Since the bear is at the northwestern corner of your tent, it is closest to the eastern side of the tent.