summaryrefslogtreecommitdiff
path: root/1223/CH1/EX1.2
diff options
context:
space:
mode:
Diffstat (limited to '1223/CH1/EX1.2')
-rwxr-xr-x1223/CH1/EX1.2/Ex1_2.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/1223/CH1/EX1.2/Ex1_2.sce b/1223/CH1/EX1.2/Ex1_2.sce
new file mode 100755
index 000000000..9b5f48f55
--- /dev/null
+++ b/1223/CH1/EX1.2/Ex1_2.sce
@@ -0,0 +1,12 @@
+clear;
+clc;
+//Example 1.2
+T=300;//(°K)Given Temperature
+Nd=10^16;//(cm^-3)Donor concentration
+n_i=1.5*10^10;//(cm^-3)intrinsic carrier concentration
+//since Nd>>n_i
+n_o=10^16;//(cm^-3)electron concentration
+//by using formula ::n_i^2=n_o*p_o
+p_o=(n_i)^2/Nd;//hole concentration
+printf('\nelectron concentration= %.e cm^-3',n_o);
+printf('\nhole concentration =%e cm^-3',p_o);