summaryrefslogtreecommitdiff
path: root/506/CH2/EX2.1.c
diff options
context:
space:
mode:
Diffstat (limited to '506/CH2/EX2.1.c')
-rwxr-xr-x506/CH2/EX2.1.c/Example2_1c.sce25
1 files changed, 25 insertions, 0 deletions
diff --git a/506/CH2/EX2.1.c/Example2_1c.sce b/506/CH2/EX2.1.c/Example2_1c.sce
new file mode 100755
index 000000000..6440cb2e6
--- /dev/null
+++ b/506/CH2/EX2.1.c/Example2_1c.sce
@@ -0,0 +1,25 @@
+clear;
+clc;
+
+disp('We know that n=p=ni where n is conc of free electron p is conc of holes and ni is conc of intrinsic carriers');
+//Given data
+//Resistivity if 1 donor atom per 10^8 germanium atoms
+Nd=4.41*(10^14);//in atoms/cm^3
+ni=2.5*(10^13);//in cm^3
+yn=3800;//in cm^2/V-s
+q=1.6*(10^-19);
+
+n=Nd;
+p=(ni^2)/Nd;
+
+disp('holes/cm^3',p,'the concentration of holes is=');
+if(n>p)
+ A=n*q*yn;//Conductivity
+ disp('ohm-cm^-1',A,'The conductivity is =');
+end
+
+R=1/A;//Resistivity
+disp('ohm-cm',R,'The resistivity is=');
+
+
+//End \ No newline at end of file