summaryrefslogtreecommitdiff
path: root/3411/CH1/EX1.7/Ex1_7.sce
blob: 1359ac7206185951ac860c4bff64de227746a06d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
//Example1.7
clc();
clear;
//To calculate the fring width
//betaa=(lamda)/(2*alpha)
lamda=6000         //units in armstrongs
lamda=lamda*10^-8   //units in cm
diameter=0.05         //units in mm
distance=15            //units in cm
alpha=(diameter/distance)*10^-1     //units in radians
betaa=lamda/(2*alpha)            //units in cm
printf("The fringe width is %.2fcm",betaa)