summaryrefslogtreecommitdiff
path: root/3875/CH4/EX4.5/Ex4_5.sce
blob: da3667ef7f2cbd3ea3f2866769929b0ff99ab7db (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
clc;
clear;
I=0.7*10^-2 //size of the image in m
u=0.3 //distance between the convex lens and the slit in m
v=0.7 //distance between the images in m
D=1 // distance between the slit and the images in m
Beta=0.0195*10^-2 //fringe width in m

//calculation
d=(I*u)/v
lambda=(Beta*d)/D

mprintf("The wavelength of light used is = %e m or 5850*10^-10 m.",lambda)