summaryrefslogtreecommitdiff
path: root/2855/CH1/EX1.6/Ex1_6.sce
diff options
context:
space:
mode:
Diffstat (limited to '2855/CH1/EX1.6/Ex1_6.sce')
-rwxr-xr-x2855/CH1/EX1.6/Ex1_6.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/2855/CH1/EX1.6/Ex1_6.sce b/2855/CH1/EX1.6/Ex1_6.sce
new file mode 100755
index 000000000..79ccf1a45
--- /dev/null
+++ b/2855/CH1/EX1.6/Ex1_6.sce
@@ -0,0 +1,14 @@
+//Ex1_6
+//given
+//page no 12
+clc;
+clear;
+disp('Solution (i) is ');
+l=720; //wavelength in nm
+n=1.5; //refractive index
+lm=l/n;
+disp('nm',lm,'Wavelenth is'); //result
+disp('Solution (ii) is ');
+c=3*10^8; //in m/s speed of light
+u=c/n;
+disp('m/s',u,'Velocity is'); //result