Advertisement
hiddenGem

Coating on a Lens to Minimize Reflection

Jul 28th, 2020
150
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MatLab 0.40 KB | None | 0 0
  1. %% Coating on a Lens to Minimize Reflection
  2. % Determines the minimum thickness of coating which should be placed on a
  3. % lens in order to minimize the reflection of a wavelength
  4.  
  5. % Inputs and Variables
  6. lambda = input('Wavelength\n');
  7. n1 = input('Index of refraction of the coating material\n');
  8.  
  9. % Outputs and Equations
  10. thickness = lambda/(4*n1);
  11. fprintf('The minimum thickness is: %.4e m\n', thickness)
  12.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement