summaryrefslogtreecommitdiff
path: root/1865/CH6/EX6.1/prob_1.sce
blob: 0c20b3ddc050f347a5f018768612d17f2af3f6fd (plain)
1
2
3
4
5
6
7
8
9
10

//Problem 1
//Calculate the fringe shift
clear
clc
l=10// Optical path of each beam in m
w=550// wavwlength of light used in nm
v= 10^(-4)// ratio of velocity of beam and velocity of light
f=(2*l*(v^2))/(w*10^(-9))// fringe shift 
printf('fringe shift = %.2f ',f)