summaryrefslogtreecommitdiff
path: root/2216/CH7/EX7.3/ex_7_3.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2216/CH7/EX7.3/ex_7_3.sce
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '2216/CH7/EX7.3/ex_7_3.sce')
-rwxr-xr-x2216/CH7/EX7.3/ex_7_3.sce19
1 files changed, 19 insertions, 0 deletions
diff --git a/2216/CH7/EX7.3/ex_7_3.sce b/2216/CH7/EX7.3/ex_7_3.sce
new file mode 100755
index 000000000..636b26f0f
--- /dev/null
+++ b/2216/CH7/EX7.3/ex_7_3.sce
@@ -0,0 +1,19 @@
+//Example 7.3: Injection efficiency
+clc;
+clear;
+close;
+format('v',7)
+//given data :
+Na=10^23;// in m^-3
+Nd=10^21;// in m^-3
+T=300;// in K
+e=1.6*10^-19;// in J
+k=1.38*10^-23;// in JK^-1
+mue=0.85;// in m^2V^-1s^-1
+muh=0.04;// in m^2V^-1s^-1
+De=(mue*k*T)/e;// in m^2s^-1
+Dh=(muh*k*T)/e;// in m^2s^-1
+Le=1;
+Lh=Le;
+eta_inj=1/(1+((De/Dh)*(Lh/Le)*(Nd/Na)));
+disp(eta_inj,"Injection efficiency,eta_inj = ")