diff options
Diffstat (limited to '1865/CH4/EX4.3/prob_3.sce')
-rw-r--r-- | 1865/CH4/EX4.3/prob_3.sce | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/1865/CH4/EX4.3/prob_3.sce b/1865/CH4/EX4.3/prob_3.sce new file mode 100644 index 000000000..79b8eb80f --- /dev/null +++ b/1865/CH4/EX4.3/prob_3.sce @@ -0,0 +1,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)
\ No newline at end of file |