summaryrefslogtreecommitdiff
path: root/3875/CH4/EX4.1/4_1.sce
blob: f56d1a4bef1bf36f92742a5849c3ecdd7e0f2531 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
clc;
clear;
d=0.08*10^-2 //distance between parallel slits in m
Beta=6*10^-4 //fringe width in m
v=8*10^11*10^3 //frequency of light in Hz
c=3*10^8 //velocity of light in m/s

//calculation
lambda=c/v //wavelength in m
D=(Beta*d)/lambda

mprintf("The distance of the screen from the slits should be = %1.2f m",D)