summaryrefslogtreecommitdiff
path: root/1871/CH4/EX4.32/Ch04Ex32.sce
blob: fb5f4e24c1c89fedc9e8b3ac5a47703ec3783164 (plain)
1
2
3
4
5
6
7
8
9
10
// Scilab code Ex4.32: : Pg:181 (2008)
clc;clear;
Lambda = 5890e-08;    // Wavelength of light, cm
n = 20;    // Number of fringes
// Since omega = Lambda*x/2*t and x = n*omega, solving for t
t = n*Lambda/2;    // Thickness of the wire, cm
printf("\nThe thickness of the wire = %4.2e cm", t);

// Result 
// The thickness of the wire = 5.89e-004 cm