summaryrefslogtreecommitdiff
path: root/3834/CH9/EX9.1.1/Ex9_1_1.sce
diff options
context:
space:
mode:
Diffstat (limited to '3834/CH9/EX9.1.1/Ex9_1_1.sce')
-rw-r--r--3834/CH9/EX9.1.1/Ex9_1_1.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/3834/CH9/EX9.1.1/Ex9_1_1.sce b/3834/CH9/EX9.1.1/Ex9_1_1.sce
new file mode 100644
index 000000000..2c00fcd88
--- /dev/null
+++ b/3834/CH9/EX9.1.1/Ex9_1_1.sce
@@ -0,0 +1,15 @@
+//Fiber Optics Communication Technology, by Djafer K. Mynbaev and Lovell L.scheiner
+//Windows 8
+//Scilab version- 6.0.0
+//Example 9.1.1
+clc;
+clear ;
+//given
+
+lambdap=850;//Peak wavelength in nm
+n=0.01;//quantum efficiency is 1%
+Ep=1248/lambdap;//energy of photon in eV
+I=50;//current supposed to be in mA
+
+P=n*Ep*I;
+mprintf("Power radiated by LED = %.3f mW",P);//answer vary due to rounding