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.
Cite As
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. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- 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!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 | Improving code in speed. |