blob: fadd7f774e439b0894bd6b224a5c1f2a459eb50e (
plain)
1
2
3
4
5
6
7
8
|
// Scilab Code Ex3.9 : Page-73 (2010)
x = 0.002945; // Distance through which movable mirror is shifted, cm
N = 100; // Number of fringes shifted
lambda = 2*x/N; // Wavelength of light, m
printf("\nThe wavelength of light = %4d angstrom", lambda/1e-008);
// Result
// The wavelength of light = 5890 angstrom
|