blob: 8976247662070e02fee2b3ee5df44e5a9768a139 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
// Scilab Code Ex3.7:: Page-3.23 (2009)
clc; clear;
lambda = 6000e-010; // Wavelength of light used, m
a = 15e-007; // Width of the slit, m
// For a single slit Fraunhofer diffraction, a*sind(theta) = n*lambda, solving for theta
theta = asind(lambda/a); // Half angular width of central maximum, degrees
printf("\nThe angular width of central maximum = %2d degrees", 2*ceil(theta));
// Result
// The angular width of central maximum = 48 degrees
|