light deflection in a glass sphere

Observing the action of parallel light beams facing with a glass sphere.
1.1K Downloads
Updated 17 Apr 2006

View License

I was asking myself what would be happen to the parallel light beams after passing a spherical glass. Do they pass through one point, exactly? I was interested in observing the result mathematically but solving the equations was difficult and time consuming for me. But afterwards I found it easy and interesting to perform an experiment with Matlab and this is the result. Any suggestion for completeness of this program or further works is really appreciated.

I have a Pentium III processor(500 MHz)and it take about 45 seconds to complete the task.

Cite As

Mohammad Monfared (2026). light deflection in a glass sphere (https://www.mathworks.com/matlabcentral/fileexchange/9691-light-deflection-in-a-glass-sphere), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R13
Compatible with any release
Platform Compatibility
Windows macOS Linux
Version Published Release Notes
1.0.0.0

Improving code in speed.