summaryrefslogtreecommitdiff
path: root/3636/CH10/EX10.10/Ex10_10.sce
diff options
context:
space:
mode:
Diffstat (limited to '3636/CH10/EX10.10/Ex10_10.sce')
-rw-r--r--3636/CH10/EX10.10/Ex10_10.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/3636/CH10/EX10.10/Ex10_10.sce b/3636/CH10/EX10.10/Ex10_10.sce
new file mode 100644
index 000000000..8621ef5f7
--- /dev/null
+++ b/3636/CH10/EX10.10/Ex10_10.sce
@@ -0,0 +1,13 @@
+clc;
+clear;
+PC=190 //optical Power generated in mW
+I=25*10^-3 //in mA
+V=1.5 //in V
+
+//Calculation
+P=V/I //Electrical Power
+n=PC/P
+
+format("v",5)
+disp(n/10,"Power conversion efficiency (%)= ")
+//The answer provided in the textbook is wrong