summaryrefslogtreecommitdiff
path: root/1865/CH4/EX4.2
diff options
context:
space:
mode:
Diffstat (limited to '1865/CH4/EX4.2')
-rw-r--r--1865/CH4/EX4.2/prob_2.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/1865/CH4/EX4.2/prob_2.sce b/1865/CH4/EX4.2/prob_2.sce
new file mode 100644
index 000000000..6bf75e8b4
--- /dev/null
+++ b/1865/CH4/EX4.2/prob_2.sce
@@ -0,0 +1,11 @@
+
+//Problem 2
+//Calculate the coherent time
+clear
+clc
+printf('The length of the wave train is equal to the coherent length\n')
+w=660//wavelength of light (in nm)
+l=13.2*(10)^(-6)//coherent length (in m)
+c=3*(10)^(8)//speed of light (in m/s)
+t=l/c//coherent time (in sec)
+printf('coherent time= %.16f sec',t) \ No newline at end of file