summaryrefslogtreecommitdiff
path: root/2102/CH4/EX4.29/exa_4_29.sce
diff options
context:
space:
mode:
Diffstat (limited to '2102/CH4/EX4.29/exa_4_29.sce')
-rwxr-xr-x2102/CH4/EX4.29/exa_4_29.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/2102/CH4/EX4.29/exa_4_29.sce b/2102/CH4/EX4.29/exa_4_29.sce
new file mode 100755
index 000000000..99f2d3989
--- /dev/null
+++ b/2102/CH4/EX4.29/exa_4_29.sce
@@ -0,0 +1,11 @@
+// Exa 4.29
+clc;
+clear;
+close;
+k= 1.38*10^-23;
+T= 300;// in K (assume)
+V_D= 0.7;// The depletion voltage for silicon
+e=1.6*10^-19;// in C
+// n_n/n_p= p_p/p_n = %e^(e*V_D/(k*T))
+ratio= %e^(e*V_D/(k*T));// ratio of majority to minority charge carriers in n and p of a silicon semiconductor
+disp(ratio,"Ratio of majority to minority charge carriers in n and p of a silicon semiconductor is : ")