light deflection in a glass sphere
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 (2024). light deflection in a glass sphere (https://www.mathworks.com/matlabcentral/fileexchange/9691-light-deflection-in-a-glass-sphere), MATLAB Central File Exchange. Extrait(e) le .
Compatibilité avec les versions de MATLAB
Plateformes compatibles
Windows macOS LinuxCatégories
- Mathematics and Optimization > Partial Differential Equation Toolbox > Domain-Specific Modeling > Structural Mechanics >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
Version | Publié le | Notes de version | |
---|---|---|---|
1.0.0.0 | Improving code in speed. |