summaryrefslogtreecommitdiff
path: root/2594/CH2/EX2.25
diff options
context:
space:
mode:
Diffstat (limited to '2594/CH2/EX2.25')
-rwxr-xr-x2594/CH2/EX2.25/Ex2_25.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/2594/CH2/EX2.25/Ex2_25.sce b/2594/CH2/EX2.25/Ex2_25.sce
new file mode 100755
index 000000000..e36b10b46
--- /dev/null
+++ b/2594/CH2/EX2.25/Ex2_25.sce
@@ -0,0 +1,15 @@
+clc
+Nd=1*10^17
+disp("Nd = "+string(Nd)+" cm^-3") //initializing the value of donor concentration.
+Na=0
+disp("Na = "+string(Na)+" cm^-3")//initializing the value of acceptor concentration.
+no=1.5*10^10
+disp("ni = "+string(no)+" cm^-3")//initializing the value of electron hole per cm^3.
+n=(-(Na-Nd)+sqrt((Na-Nd)^2+4*no))/2
+disp("Electron concentration,n=(-(Na-Nd)+sqrt((Na-Nd)^2+4*no))/2)= "+string(n)+" cm^-3")//calculation
+p=(no^2/n)
+disp("Hole concentration,p)= "+string(p)+" cm^-3")//calculation
+
+
+
+//this is solved problem 2.13 of chapter 2.