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 /2720/CH3/EX3.21.4 | |
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 '2720/CH3/EX3.21.4')
-rwxr-xr-x | 2720/CH3/EX3.21.4/ex3_21_4.sce | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/2720/CH3/EX3.21.4/ex3_21_4.sce b/2720/CH3/EX3.21.4/ex3_21_4.sce new file mode 100755 index 000000000..a82976932 --- /dev/null +++ b/2720/CH3/EX3.21.4/ex3_21_4.sce @@ -0,0 +1,16 @@ +// Exa 3.21.4
+clc;
+clear;
+close;
+format('e',9)
+// Given data
+K = 1.38 * 10^-23;// in J/K
+T = 27;// in degree
+T = T + 273;// in K
+e = 1.6 * 10^-19;// in C
+Mu_e = 0.17;// in m^2/v-s
+Mu_e1 = 0.025;// in m^2/v-s
+D_n = ((K * T)/e) * Mu_e;// in m^2/s
+disp(D_n,"The diffusion coefficient of electrons in m^2/s is");
+D_p = ((K * T)/e) * Mu_e1;// in m^2/s
+disp(D_p,"The diffusion coefficient of holes in m^2/s is ");
|