Advertisement
hiddenGem

Two Glass Plates

Jul 27th, 2020
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MatLab 0.28 KB | None | 0 0
  1. %% Two Glass Plates
  2. % Determines the thickness of a piece of paper between two glass plates
  3.  
  4. % Inputs and Variables
  5. lambda = input('Wavelength\n');
  6. n = input('Interference fringe\n')/2;
  7.  
  8. % Outputs and Equations
  9. thickness = lambda*n;
  10. fprintf('The paper is %.3e m thick', thickness)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement