Solve optics problems online — thin lens formula, Snell's law with critical angle, and diffraction grating calculations. Free physics calculator for students