light deflection in a glass sphere

Observing the action of parallel light beams facing with a glass sphere.

Vous suivez désormais cette soumission

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.

Citation pour cette source

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

Informations générales

Compatibilité avec les versions de MATLAB

  • Compatible avec toutes les versions

Plateformes compatibles

  • Windows
  • macOS
  • Linux
Version Publié le Notes de version Action
1.0.0.0

Improving code in speed.