diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /2825/CH2/EX2.9 | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '2825/CH2/EX2.9')
-rwxr-xr-x | 2825/CH2/EX2.9/Ex2_9.sce | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/2825/CH2/EX2.9/Ex2_9.sce b/2825/CH2/EX2.9/Ex2_9.sce new file mode 100755 index 000000000..425608792 --- /dev/null +++ b/2825/CH2/EX2.9/Ex2_9.sce @@ -0,0 +1,18 @@ +//Ex2_9 Pg-91
+clc
+
+disp("For P-type,Nd=0. By charge neutrality and mass action law,")
+
+disp(" p + Nd = p = +na = (ni)^2/n")
+
+disp("or n^2 + Na*n - (ni)^2 = 0")
+
+disp("Solving the quadratic equation for n and discharging the extraneous negative root,one obtains")
+
+disp(" n = 0.5*(-Na + sqrt(Na^2 + 4*ni^2))")
+
+disp("Knowing n,one obtains from mass action law p = ni^2/n")
+
+disp("For N-type doping,Na=0. By analogous procedure,")
+
+disp(" p = 0.5*(-Nd +sqrt(Nd^2 + 4*Ni^2)); n=ni^2/p")
|