Reflection and Refraction Simulation
Loading the math board and drawing, please wait…
This example demonstrates the reflection and refraction of a light ray at the interface of two different media. Key math concepts include the law of reflection, Snell's law of refraction, angle measurement, and geometric transformations. Constructed using GeoGebra commands/objects like Point, Segment, Rotate, Mirror, Angle, Polygon, Ray, and Textfield. Suitable for high school physics or mathematics courses to visually understand the principles of light reflection and refraction.
GeoGebra Commands & Parameters
Point(xAxis) → CSegment(E, F) → bRotate(B, a1, A) → B'Segment(B', A) → dRotate(B', -a1 - 3.14159 + asin(n1 * sin(a1) / n2), A) → BRMirror(B', b) → B''Angle(E, A, B') → αAngle(B'', A, E) → βAngle(F, A, BR) → γPoint(xAxis) → DPoint(xAxis) → GPolygon(D, G, H, I) → poly1, d_1, g, h, iPolygon(D, J, K, G) → poly2, d_2, j, k, g_1Segment(D, G) → cRay(A, B'') → aRay(A, BR) → fPolygon(L_1, M_1, N_1, O_1) → poly3_1, l_1, m_1, n_1, o_1Polygon(L_3, M_3, N_3, O_3) → poly3_3, l_3, m_3, n_3, o_3Polygon(L_4, M_4, N_4, O_4) → poly3_2, l_2, m_2, n_2, o_2Polygon(L_5, M_5, N_5, O_5) → poly3_4, l_4, m_4, n_4, o_4Ray(B', A) → nPoint(n) → PAngle(BR, A, P) → δAngle(P, A, BR) → εTextfield(n2) → inputBox1Textfield(n1) → inputBox2Textfield(a1) → inputBox3
AI Drawing Prompt Reference
Draw a diagram showing the reflection and refraction of a light ray at the interface of two different media. Start by creating point C on the x-axis, then create segment EF. Rotate point B around point A to get B', and create segment B'A. Rotate B' counterclockwise around A to get BR, and mirror B' about segment EF to get B''. Measure angles EAB', B''AE, and FABR. Create points D and G, and use them to create polygons, and another polygon. Create segment DG, and draw rays from A intersecting B'A and BR. Create polygons L1M1N1O1, L3M3N3O3, L2M2N2O2, and L4M4N4O4. Draw ray BR, and find its intersection with point P. Measure angles BRP and PBR. Finally, input the refractive indices n1 and n2, and the incidence angle a1.
The prompt above was compiled from the original drawing commands and is for reference only.