summaryrefslogtreecommitdiff
path: root/3547/CH4
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3547/CH4
parentb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff)
downloadScilab-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/CH4')
-rw-r--r--3547/CH4/EX4.2/4_2.jpgbin0 -> 51257 bytes
-rw-r--r--3547/CH4/EX4.2/Ex4_2.sce18
2 files changed, 18 insertions, 0 deletions
diff --git a/3547/CH4/EX4.2/4_2.jpg b/3547/CH4/EX4.2/4_2.jpg
new file mode 100644
index 000000000..51471feb5
--- /dev/null
+++ b/3547/CH4/EX4.2/4_2.jpg
Binary files differ
diff --git a/3547/CH4/EX4.2/Ex4_2.sce b/3547/CH4/EX4.2/Ex4_2.sce
new file mode 100644
index 000000000..0bc2529ab
--- /dev/null
+++ b/3547/CH4/EX4.2/Ex4_2.sce
@@ -0,0 +1,18 @@
+// Example no.4.2
+// To calculate the voltage required to introduce a phase shift of pi/2.
+// Page no.152
+
+clc;
+clear;
+
+// Given data
+lambda0=1530*10^-9; // An electro-optic modulator operating wavelength
+d=10*10^-6; // Thickness
+L=5*10^-2; // Length
+n0=2.2; // Refractive index
+r33=30*10^-12; // Pockel coefficient in m/V
+deltaphi=%pi/2; // Phase shift
+V=(deltaphi*lambda0*d)/(%pi*L*n0^3*r33); // The voltage required to introduce a phase shift of pi/2
+
+//Displaying the result in command window
+printf('\n The voltage required to introduce a phase shift of pi/2 = %0.2f V',V);