summaryrefslogtreecommitdiff
path: root/3537/CH2/EX2.10/Ex2_10.sce
blob: 5d8bcb19fe9a95386ce2deb2aae82fcdd1abdb93 (plain)
1
2
3
4
5
6
7
8
9
//Example 2_10
clc();
clear;
//To calculate the width of the central maxima
d=2                          //units in meters
lemda=500*10^-9            //units in meters
a=1.5*10^-3               //units in meters
x=((2*d*lemda)/a)*10^3
printf("width of central maximum is %.2f mm",x)