diff options
Diffstat (limited to '3834/CH10/EX10.1.2/Ex10_1_2.sce')
-rw-r--r-- | 3834/CH10/EX10.1.2/Ex10_1_2.sce | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/3834/CH10/EX10.1.2/Ex10_1_2.sce b/3834/CH10/EX10.1.2/Ex10_1_2.sce new file mode 100644 index 000000000..ed17adb6e --- /dev/null +++ b/3834/CH10/EX10.1.2/Ex10_1_2.sce @@ -0,0 +1,15 @@ +//Fiber-optics communication technology, by Djafer K. Mynbaev and Lowell L. Scheiner
+//Example 10.1.2
+//windows 7
+//Scilab version-6.0.0
+clc;
+clear ;
+//given
+T=300;//temperature in K
+kB=1.38E-23;//Boltzman constant in J/K
+E=kB*T;
+e=1.6E-19;//Electrons value in Coulomb
+Vd=0.7;;//depletion voltage in V
+Y=e*Vd/E;
+nnbynp=exp(Y);//Ratio of majority to minority charge carriers in an n type and a p type of silicon semiconductor
+mprintf("Ratio of majority to minority charge carriers in an n type and a p type of silicon semiconductor = %.2f x10^11",nnbynp/1e11);//the answer vary due to rounding
|