summaryrefslogtreecommitdiff
path: root/1958/CH10/EX10.5/Chapter10_example5.sce
blob: fad1ceda7f62e3276673d2a6a41e08528f336613 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
clc
clear
//Input data
w=6400//Wave length of light in Angstrom
w1=0.3//Slit width in mm
d=110//Distance of screen from the slit in cm
n=3//order

//Calculations
x=((n*w*10^-10*(d/100))/(w1*10^-3))*1000//Distance between the centre of the central maximum and the third dark fringe in mm

//Output
printf('Distance between the centre of the central maximum and the third dark fringe is %3.2f mm',x)