summaryrefslogtreecommitdiff
path: root/2780/CH2/EX2.9/Ex2_9.sce
blob: 96fa37f884ea361acd44c863fdb02ddd973f9c24 (plain)
1
2
3
4
5
6
7
8
clc
//to calculate wavelength of light
omega=1.888*10^-2/20 //in (m)
D=1.20 //distance of eye piece from the source in m
twod=0.00075 //distance between two virtual sources in m
lambda=omega*twod/D
disp("the wavelength of light is lambda="+string(lambda)+"m")