// Scilab Code Ex2.2:: Page-2.10 (2009) clc; clear; d = 0.2; // Separation between the slits, cm D = 100; // Distance of the source from the screen, m b = 0.35e-01; // Fringe separation, cm lambda = b*d/D; // Wavelength of light used, m printf("\nThe wavelength of the light = %3.1e cm", lambda); // Result // The wavelength of the light = 7.0e-005 cm