blob: c10eeaff954c78461d7236dab7e2e4949bf4f863 (
plain)
1
2
3
4
5
6
7
8
9
10
|
// Scilab Code Ex3.1 : Page-71 (2010)
beta = 0.51e-02; // Fringe width, cm
d = 2.2e-02; // Distance between the slits, cm
D = 2e+02; // Distance between the slits and the screen, cm
// As beta = D*lambda/d, solving for lambda
lambda = beta*d/D; // Wavelength of light, m
printf("\nThe wavelength of light = %4d angstrom", lambda/1e-010);
// Result
// The wavelength of light = 5610 angstrom
|