summaryrefslogtreecommitdiff
path: root/3822/CH5/EX5.5/Ex5_5.sce
diff options
context:
space:
mode:
Diffstat (limited to '3822/CH5/EX5.5/Ex5_5.sce')
-rw-r--r--3822/CH5/EX5.5/Ex5_5.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/3822/CH5/EX5.5/Ex5_5.sce b/3822/CH5/EX5.5/Ex5_5.sce
new file mode 100644
index 000000000..bc201eb1d
--- /dev/null
+++ b/3822/CH5/EX5.5/Ex5_5.sce
@@ -0,0 +1,14 @@
+
+//OptoElectronics and Fibre Optics Communication, by C.K Sarkar and B.C Sarkar
+//Example 5.5
+//OS=Windows 10
+////Scilab version Scilab 6.0.0-beta-2(64 bit)
+clc;
+clear;
+
+//given
+etaT=0.18//total efficiency
+Eg=1.43//bandgap energy in eV
+V=2.5//applied voltage in V
+etae=etaT*Eg*100/V//external power efficiency
+mprintf("\n External power efficiency =%.0f percent ",etae);