summaryrefslogtreecommitdiff
path: root/2411/CH3/EX3.c.204/Ex3c_4.sce
blob: 31b6e5abb6a991ac9e7a6e1f38cd01a8a0f5ff16 (plain)
1
2
3
4
5
6
7
8
9
10
// Scilab Code Ex3c.4: Page-184 (2008)
clc; clear;
d = 0.3;    // Separation between the two slits, cm
D = 60;    // Distance between the source and the slit, cm
lambda = 59e-006;    // Wavelength of light, cm
bita = lambda*D/d;    // Fringe width, cm
printf("\nThe fringe width = %4.2e cm", bita);

// Result
// The fringe width = 1.18e-002 cm