summaryrefslogtreecommitdiff
path: root/2411/CH3/EX3.c.208/Ex3c_8.sce
blob: 798dbd4b0da50ab3f47c950f0a2d65c81704d92b (plain)
1
2
3
4
5
6
7
8
9
10
11
// Scilab Code Ex3c.8: Page-186 (2008)
clc; clear;
lambda1 = 5893;    // First wavelength of light, angstrom
lambda2 = 4358;    // Second wavelength of light, angstrom
n = 40;    // Number of fringes obtained with first wavelength
// As bita1/bita2 = lambda1/lambda2, so
x = n*lambda1/lambda2;    // Number of fringes obtained with the seocond wavelength
printf("\nThe number of fringes obtained with the given wavelength = %d", x);

// Result
// The number of fringes obtained with the given wavelength = 54