summaryrefslogtreecommitdiff
path: root/3547/CH4/EX4.2
diff options
context:
space:
mode:
Diffstat (limited to '3547/CH4/EX4.2')
-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);