document.write( "Question 1163329: If you are in shallow water and look at an object below the surface of the water,
\n" );
document.write( "the object will look farther away from you than it really is. This is because as light passes
\n" );
document.write( "through air and water it bends or refracts the light rays. The index of refraction for water is 1.33.
\n" );
document.write( "This is the ratio of the sine of theta 1 and the sine of theta 2.\r
\n" );
document.write( "
\n" );
document.write( "\n" );
document.write( "a)You are in 2 feet of water in the shallow end of a pool. You look down at some goggles at angle
\n" );
document.write( "(theta=60) degrees measured from a line perpendicular to the surface of the water. Find (theta 2 ) \r
\n" );
document.write( "
\n" );
document.write( "\n" );
document.write( "b) Find the distances x and y
\n" );
document.write( " \n" );
document.write( "
Algebra.Com's Answer #854382 by CPhill(2264) You can put this solution on YOUR website! ```python?code_reference&code_event_index=2 \n" ); document.write( "import math\r \n" ); document.write( "\n" ); document.write( "# Given values \n" ); document.write( "n_air = 1.0 \n" ); document.write( "n_water = 1.33 \n" ); document.write( "theta_1_deg = 60.0 \n" ); document.write( "depth_y = 2.0 # feet\r \n" ); document.write( "\n" ); document.write( "# Part a: Find theta_2 \n" ); document.write( "# n1 * sin(theta1) = n2 * sin(theta2) \n" ); document.write( "theta_1_rad = math.radians(theta_1_deg) \n" ); document.write( "sin_theta_2 = (n_air * math.sin(theta_1_rad)) / n_water \n" ); document.write( "theta_2_rad = math.asin(sin_theta_2) \n" ); document.write( "theta_2_deg = math.degrees(theta_2_rad)\r \n" ); document.write( "\n" ); document.write( "# Part b: Find distances x and y \n" ); document.write( "# y is the actual depth \n" ); document.write( "y = depth_y \n" ); document.write( "# x is the horizontal distance from the entry point to the object \n" ); document.write( "# From the right triangle in the water: tan(theta_2) = x / y \n" ); document.write( "x = y * math.tan(theta_2_rad)\r \n" ); document.write( "\n" ); document.write( "print(f\"{theta_1_deg=}\") \n" ); document.write( "print(f\"{theta_2_deg=}\") \n" ); document.write( "print(f\"{y=}\") \n" ); document.write( "print(f\"{x=}\")\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "``` \n" ); document.write( "```text?code_stdout&code_event_index=2 \n" ); document.write( "theta_1_deg=60.0 \n" ); document.write( "theta_2_deg=40.62813065148206 \n" ); document.write( "y=2.0 \n" ); document.write( "x=1.715911347328087\r \n" ); document.write( "\n" ); document.write( "``` \n" ); document.write( "To solve for the angle of refraction and the geometric distances, we use **Snell's Law**, which describes how light bends when crossing the boundary between two different media (in this case, air and water).\r \n" ); document.write( "\n" ); document.write( "### (a) Find $\theta_2$ \n" ); document.write( "Snell's Law is given by the formula: \n" ); document.write( "$$n_1 \sin \theta_1 = n_2 \sin \theta_2$$ \n" ); document.write( "Where: \n" ); document.write( "* $n_1$ is the index of refraction for air ($\approx 1.00$). \n" ); document.write( "* $n_2$ is the index of refraction for water ($1.33$). \n" ); document.write( "* $\theta_1$ is the angle of incidence in air ($60^\circ$). \n" ); document.write( "* $\theta_2$ is the angle of refraction in water.\r \n" ); document.write( "\n" ); document.write( "Using the ratio provided in the problem ($1.33 = \frac{\sin \theta_1}{\sin \theta_2}$): \n" ); document.write( "$$1.33 = \frac{\sin 60^\circ}{\sin \theta_2}$$ \n" ); document.write( "$$\sin \theta_2 = \frac{\sin 60^\circ}{1.33}$$ \n" ); document.write( "$$\sin \theta_2 = \frac{0.8660}{1.33} \approx 0.6511$$ \n" ); document.write( "$$\theta_2 = \arcsin(0.6511) \approx 40.63^\circ$$\r \n" ); document.write( "\n" ); document.write( "**The angle of refraction $\theta_2$ is approximately $40.63^\circ$.**\r \n" ); document.write( "\n" ); document.write( "---\r \n" ); document.write( "\n" ); document.write( "### (b) Find the distances $x$ and $y$ \n" ); document.write( "In this geometric model of refraction: \n" ); document.write( "* **$y$** represents the vertical depth of the water. According to the problem, you are in 2 feet of water. \n" ); document.write( " $$y = 2\text{ ft}$$ \n" ); document.write( "* **$x$** represents the horizontal distance from the point where the light ray enters the water to the location of the goggles on the pool floor.\r \n" ); document.write( "\n" ); document.write( "Using the right triangle formed by the light ray under the water: \n" ); document.write( "$$\tan \theta_2 = \frac{\text{opposite}}{\text{adjacent}} = \frac{x}{y}$$ \n" ); document.write( "$$x = y \cdot \tan \theta_2$$ \n" ); document.write( "$$x = 2 \cdot \tan(40.63^\circ)$$ \n" ); document.write( "$$x \approx 2 \cdot 0.8580$$ \n" ); document.write( "$$x \approx 1.716\text{ ft}$$\r \n" ); document.write( "\n" ); document.write( "**Final Results:** \n" ); document.write( "* **$\theta_2 \approx 40.63^\circ$** \n" ); document.write( "* **$y = 2\text{ ft}$** (Actual depth) \n" ); document.write( "* **$x \approx 1.72\text{ ft}$** (Horizontal distance) \n" ); document.write( " |