summaryrefslogtreecommitdiff
path: root/3822/CH4/EX4.2/Ex4_2.sce
diff options
context:
space:
mode:
Diffstat (limited to '3822/CH4/EX4.2/Ex4_2.sce')
-rw-r--r--3822/CH4/EX4.2/Ex4_2.sce18
1 files changed, 18 insertions, 0 deletions
diff --git a/3822/CH4/EX4.2/Ex4_2.sce b/3822/CH4/EX4.2/Ex4_2.sce
new file mode 100644
index 000000000..e86755675
--- /dev/null
+++ b/3822/CH4/EX4.2/Ex4_2.sce
@@ -0,0 +1,18 @@
+
+//Optoelectronics and Fiber Optics Communication by C.R. Sarkar and D.C. Sarkar
+//Example 4.2
+//OS = Windows 7
+//Scilab version 5.5.2
+
+clc;
+clear;
+
+//given
+NA=0.18;//numerical aperture
+RD=30;//radiance of the source in W/Sr/cm^2
+d=50*10^-4;//core diameter in cm
+R=0.01;//Fresnel reflection coefficient
+a=d/2;//radius of the core in cm
+A=%pi*((a)^2);//emission area of the source in cm^2
+Pc=%pi*(1-R)*A*RD*((NA)^2);//optical power coupled to the fiber in W
+mprintf("\n Optical power coupled to the fiber is =%.0f uW",Pc*1e6);//multiplication by 1e6 for conversion of unit from W to uW//the answer given in textbook is wrong