summaryrefslogtreecommitdiff
path: root/2720/CH2/EX2.20.1
diff options
context:
space:
mode:
Diffstat (limited to '2720/CH2/EX2.20.1')
-rwxr-xr-x2720/CH2/EX2.20.1/ex2_20_1.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/2720/CH2/EX2.20.1/ex2_20_1.sce b/2720/CH2/EX2.20.1/ex2_20_1.sce
new file mode 100755
index 000000000..1a03e8879
--- /dev/null
+++ b/2720/CH2/EX2.20.1/ex2_20_1.sce
@@ -0,0 +1,11 @@
+//Exa2.20.1
+clc;
+clear;
+close;
+// Given data
+n_i = 1.4 * 10^18;// in /m^3
+n_D = 1.4 * 10^24;// in /m^3
+n=n_D;// in /m^3
+p = n_i^2/n;// in /m^3
+R = n/p;
+disp(R,"The ratio of electrons to hole concentration is");