diff options
author | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
---|---|---|
committer | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
commit | 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch) | |
tree | dbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3547/CH1/EX1.7 | |
parent | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff) | |
download | Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2 Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip |
initial commit / add all books
Diffstat (limited to '3547/CH1/EX1.7')
-rw-r--r-- | 3547/CH1/EX1.7/1_7.jpg | bin | 0 -> 64519 bytes | |||
-rw-r--r-- | 3547/CH1/EX1.7/Ex1_7.sce | 27 |
2 files changed, 27 insertions, 0 deletions
diff --git a/3547/CH1/EX1.7/1_7.jpg b/3547/CH1/EX1.7/1_7.jpg Binary files differnew file mode 100644 index 000000000..860418859 --- /dev/null +++ b/3547/CH1/EX1.7/1_7.jpg diff --git a/3547/CH1/EX1.7/Ex1_7.sce b/3547/CH1/EX1.7/Ex1_7.sce new file mode 100644 index 000000000..07a8fb091 --- /dev/null +++ b/3547/CH1/EX1.7/Ex1_7.sce @@ -0,0 +1,27 @@ +//Example no 1.7
+//To calculate a)the speed of light b) The wavelenght in medium c) The wavenumber in medium
+//Page no. 25
+
+clc;
+clear all;
+
+//a)The speed of light
+c=3*10^8; //Speed of light in free space (m/s)
+n=1.45; //Given refractive index of dielectric medium
+v=(c/n); //Speed of light in medium (in m/s)
+
+//Displaying the result in command window
+printf('\n Speed of light in medium = %0.3f X 10^8 m/s',v*10^-8);
+
+//b) The wavelenght in medium
+f=190*10^12; //Given operating frequency of laser
+lambdam=(v/f); //Wavelenght in medium
+
+//Displaying the result in command window
+printf('\n Wavelenght of laser in medium = %0.4f micrometer',lambdam*10^(6));
+
+//c) The wavenumber in medium
+k=(2*%pi)/lambdam; //Wavenumber in medium
+
+//Displaying the result in command window
+printf('\n Wavenumber in medium = %0.2f X 10^6 m^-1',k*10^-6)
|