summaryrefslogtreecommitdiff
path: root/3636/CH10/EX10.8/Ex10_8.sce
diff options
context:
space:
mode:
Diffstat (limited to '3636/CH10/EX10.8/Ex10_8.sce')
-rw-r--r--3636/CH10/EX10.8/Ex10_8.sce34
1 files changed, 34 insertions, 0 deletions
diff --git a/3636/CH10/EX10.8/Ex10_8.sce b/3636/CH10/EX10.8/Ex10_8.sce
new file mode 100644
index 000000000..69af183e1
--- /dev/null
+++ b/3636/CH10/EX10.8/Ex10_8.sce
@@ -0,0 +1,34 @@
+clc;
+clear;
+Na=10^18 //in cm^-3
+Nd=10^17 //in cm^-3
+myu_p=471 //in cm^2/Vs
+myu_n=1417 //in cm^2/Vs
+tau_p=10^-8 //in s
+tau_n=10^-6 //in s
+JL=40 //in mA/cm^2
+A=10^-5 //in cm^2
+R1=1000 //in ohm
+e=1.6*10^-19 //in J
+ni=1.45*10^10 //in cm^-3
+Vt=0.02586 //constant for kT/e at 300K in V
+V=0.1 //in V
+n=10 //number of solar cells
+
+//Calculation
+//a)
+Dp=Vt*myu_p //in cm^2/s
+Dn=Vt*myu_n //in cm^2/s
+Ln=sqrt(Dn*tau_n) //in cm
+Lp=sqrt(Dp*tau_p) //in cm
+Js=e*ni^2*((Dp/(Nd*Lp))+(Dn/(Na*Ln))) //in A/cm^2
+Is=Js*10^-5 //in A
+IF=Is*(exp(V/Vt)-1) //in A
+
+//b)
+IL=40*10^-8 //in A
+I=IL-IF //in
+X=((10^-3)/(I))*n
+
+mprintf("a)Current= %.2e A\n",IF) //The answers vary due to round off error
+mprintf("b)Total number of solar cells= %i",X)