summaryrefslogtreecommitdiff
path: root/1271/CH1/EX1.1/example1_1.sce
diff options
context:
space:
mode:
Diffstat (limited to '1271/CH1/EX1.1/example1_1.sce')
-rwxr-xr-x1271/CH1/EX1.1/example1_1.sce9
1 files changed, 9 insertions, 0 deletions
diff --git a/1271/CH1/EX1.1/example1_1.sce b/1271/CH1/EX1.1/example1_1.sce
new file mode 100755
index 000000000..4aec05f44
--- /dev/null
+++ b/1271/CH1/EX1.1/example1_1.sce
@@ -0,0 +1,9 @@
+clc
+// Given that
+lambda = 6.6e-7 // wavelength of light in meter
+L = 1.32e-5 // coherence length in meter
+// Sample Problem 1 on page no. 1.40
+printf("\n # PROBLEM 1 # \n")
+printf("\n Standard formulae used \n delta_L = c * delta_t \n")
+coherence_time = L / (3 * 10 ^ 8)//calculation for coherence time
+printf("\n Coherence time = %e sec",coherence_time)