summaryrefslogtreecommitdiff
path: root/3537/CH2/EX2.11/Ex2_11.sce
blob: aa66a6534dd2c77a115c5d2f8f79015936932185 (plain)
1
2
3
4
5
6
7
8
9
//Example 2_11
clc();
clear;
//To find the slit width
d=2                          //units in meters
lemda=500*10^-9              //units in meters
x=5*10^-3                    //units in meters
a=(d*lemda)/x*10^3
printf("The slit width is %.1f mm",a)