summaryrefslogtreecommitdiff
path: root/2414/CH20/EX20.1/Ex20_1.sce
diff options
context:
space:
mode:
Diffstat (limited to '2414/CH20/EX20.1/Ex20_1.sce')
-rwxr-xr-x2414/CH20/EX20.1/Ex20_1.sce9
1 files changed, 9 insertions, 0 deletions
diff --git a/2414/CH20/EX20.1/Ex20_1.sce b/2414/CH20/EX20.1/Ex20_1.sce
new file mode 100755
index 000000000..57282d419
--- /dev/null
+++ b/2414/CH20/EX20.1/Ex20_1.sce
@@ -0,0 +1,9 @@
+clc;
+close();
+clear();
+//page no 616
+//prob no. 20.1
+lembda=1300*10^-9; //wavwlength in m
+c=3*10^8; //speed of light in m/s
+f=c/lembda //in Hz
+mprintf('frequency of laser is ,f=%.0f THz',f*10^-12);