summaryrefslogtreecommitdiff
path: root/1865/CH4/EX4.3/prob_3.sce
blob: 79b8eb80ff7ab12ebd13163ee068507cfac7d1bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12

//Problem 3
//Calculate the number of oscillations corresponding to the coherence length and the coherence time
clear
clc
L=2.945*(10)^(-2)//length for NA light (in m)
w=5890//wavelength of NA light (in A)
c=3*(10)^8//speed of light
n=L/(w*(10)^(-10))//number of oscillations in length L
t=L/c//coherence time
printf('number of oscillations in length L = %.4f\n',n)
printf('coherence time = %.13f sec',t)