summaryrefslogtreecommitdiff
path: root/3769/CH17/EX17.3/Ex17_3.sce
diff options
context:
space:
mode:
Diffstat (limited to '3769/CH17/EX17.3/Ex17_3.sce')
-rw-r--r--3769/CH17/EX17.3/Ex17_3.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/3769/CH17/EX17.3/Ex17_3.sce b/3769/CH17/EX17.3/Ex17_3.sce
new file mode 100644
index 000000000..8ba7875b6
--- /dev/null
+++ b/3769/CH17/EX17.3/Ex17_3.sce
@@ -0,0 +1,14 @@
+clear
+//Given
+c=3.0*10**8
+u=1.5
+f=6*10**14 //Hz
+
+//Calculation
+v=c/u
+l=c/f
+lm=v/f
+
+//Result
+printf("\n (i) Wavelength of light in air is %0.3f m", l)
+printf("\n (ii) Wavelength of light in glass is %0.1f *10**-7 m",lm*10**7)