summaryrefslogtreecommitdiff
path: root/3822/CH5/EX5.5.A/Ex5_5_A.sce
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3822/CH5/EX5.5.A/Ex5_5_A.sce
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 '3822/CH5/EX5.5.A/Ex5_5_A.sce')
-rw-r--r--3822/CH5/EX5.5.A/Ex5_5_A.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/3822/CH5/EX5.5.A/Ex5_5_A.sce b/3822/CH5/EX5.5.A/Ex5_5_A.sce
new file mode 100644
index 000000000..61bd16e5b
--- /dev/null
+++ b/3822/CH5/EX5.5.A/Ex5_5_A.sce
@@ -0,0 +1,14 @@
+
+//OptoElectronics and Fibre Optics Communication, by C.K Sarkar and B.C Sarkar
+//Example 5.5(A)
+//OS=Windows 10
+////Scilab version Scilab 6.0.0-beta-2(64 bit)
+clc;
+clear;
+
+//given
+etaT=0.20//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 =%.2f percent ",etae);