summaryrefslogtreecommitdiff
path: root/3740/CH3/EX3.4
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3740/CH3/EX3.4
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 '3740/CH3/EX3.4')
-rw-r--r--3740/CH3/EX3.4/Ex3_4.jpgbin0 -> 75737 bytes
-rw-r--r--3740/CH3/EX3.4/Ex3_4.sce24
2 files changed, 24 insertions, 0 deletions
diff --git a/3740/CH3/EX3.4/Ex3_4.jpg b/3740/CH3/EX3.4/Ex3_4.jpg
new file mode 100644
index 000000000..730639cda
--- /dev/null
+++ b/3740/CH3/EX3.4/Ex3_4.jpg
Binary files differ
diff --git a/3740/CH3/EX3.4/Ex3_4.sce b/3740/CH3/EX3.4/Ex3_4.sce
new file mode 100644
index 000000000..7c23668e0
--- /dev/null
+++ b/3740/CH3/EX3.4/Ex3_4.sce
@@ -0,0 +1,24 @@
+//Optoelectronics - An Introduction, 2nd Edition by J. Wilson and J.F.B. Hawkes
+//Example 3.4
+//OS=Windows XP sp3
+//Scilab version 5.5.2
+clc;
+clear;
+
+//given
+lambda=633e-9;//Wavelength in m
+Deltaf=5e6;//Frequency bandwidth in Hz
+L=50e-3;//Length of the modulator in m
+eta=0.7;//diffraction efficiency
+lambdaa=4.3e-5;//Acoustic wavelength in m
+va=3500;//Acoustic velocity in m/s
+
+ThetaB=asind(lambda/(2*lambdaa));//Angle of diffraction in degrees
+mprintf("ThetaB = %.2f degrees",ThetaB);
+
+//As eta=(sin(Phi/2))^2, Rearranging the terms we get:
+Phi=2*asind(sqrt(eta));
+mprintf("\n Phi = %.1f degrees",Phi);
+
+B=va/Deltaf;//Maximum optical beamwidth in m
+mprintf("\n B = %.1f mm",B/1e-3);//Division by 10^(-3) to convert into mm