summaryrefslogtreecommitdiff
path: root/374/CH5/EX5.2.a/52a.sci
diff options
context:
space:
mode:
Diffstat (limited to '374/CH5/EX5.2.a/52a.sci')
-rw-r--r--374/CH5/EX5.2.a/52a.sci9
1 files changed, 9 insertions, 0 deletions
diff --git a/374/CH5/EX5.2.a/52a.sci b/374/CH5/EX5.2.a/52a.sci
new file mode 100644
index 000000000..1518fabd3
--- /dev/null
+++ b/374/CH5/EX5.2.a/52a.sci
@@ -0,0 +1,9 @@
+//chapter 5 example 2//
+clc
+clear
+//band gap energy=Eg,total efficiency=nT,voltage applied=V,external efficiency=ne//
+Eg=1.43;//in ev//
+V=2.5;//in volts//
+nT=0.20;
+ne=((nT*Eg)/V)*100;//external efficiency//
+printf("\n external efficiency=%f percent\n",ne)