summaryrefslogtreecommitdiff
path: root/3740/CH3/EX3.2
diff options
context:
space:
mode:
Diffstat (limited to '3740/CH3/EX3.2')
-rw-r--r--3740/CH3/EX3.2/Ex3_2.jpgbin0 -> 132975 bytes
-rw-r--r--3740/CH3/EX3.2/Ex3_2.sce14
2 files changed, 14 insertions, 0 deletions
diff --git a/3740/CH3/EX3.2/Ex3_2.jpg b/3740/CH3/EX3.2/Ex3_2.jpg
new file mode 100644
index 000000000..ac46e2224
--- /dev/null
+++ b/3740/CH3/EX3.2/Ex3_2.jpg
Binary files differ
diff --git a/3740/CH3/EX3.2/Ex3_2.sce b/3740/CH3/EX3.2/Ex3_2.sce
new file mode 100644
index 000000000..bb04a6da2
--- /dev/null
+++ b/3740/CH3/EX3.2/Ex3_2.sce
@@ -0,0 +1,14 @@
+//Optoelectronics - An Introduction, 2nd Edition by J. Wilson and J.F.B. Hawkes
+//Example 3.2
+//OS=Windows XP sp3
+//Scilab version 5.5.2
+clc;
+clear;
+
+//given
+lambda=1.06e-6;//Wavelength at which half-wave voltage is to be calculated, in m
+r=10.6e-12;//Linear electro-optic coefficient of KDP crystal in m/V
+n0=1.51;//refractive index of the crystal
+
+Vpi=lambda/(2*r*(n0^3));//Half-wave voltage for the crystal in V
+mprintf("The half-wave voltage of the crystal = %.1f kV",Vpi/1e3);//Division by 10^3 to convert into kV