diff options
author | prashantsinalkar | 2017-10-10 12:38:01 +0530 |
---|---|---|
committer | prashantsinalkar | 2017-10-10 12:38:01 +0530 |
commit | f35ea80659b6a49d1bb2ce1d7d002583f3f40947 (patch) | |
tree | eb72842d800ac1233e9d890e020eac5fd41b0b1b /3411/CH15/EX7.2.u2/Ex7_2_u2.sce | |
parent | 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (diff) | |
download | Scilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.tar.gz Scilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.tar.bz2 Scilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.zip |
updated the code
Diffstat (limited to '3411/CH15/EX7.2.u2/Ex7_2_u2.sce')
-rw-r--r-- | 3411/CH15/EX7.2.u2/Ex7_2_u2.sce | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/3411/CH15/EX7.2.u2/Ex7_2_u2.sce b/3411/CH15/EX7.2.u2/Ex7_2_u2.sce index 2542b76ee..53ba64ccf 100644 --- a/3411/CH15/EX7.2.u2/Ex7_2_u2.sce +++ b/3411/CH15/EX7.2.u2/Ex7_2_u2.sce @@ -2,9 +2,9 @@ clc();
clear;
//To calculate the diffusion current density
-Dn=22.5
-e=1.6*10^-19 //units in eV
+Dn=22.5 //units in cm^2/sec
+e=1.6*10^-19 //units in coulombs
dn=(1*10^18)-(7*10^17)
-dx=0.1
+dx=0.1 //units in cm
Jndiff=e*Dn*(dn/dx) //units in A/cm^2
printf("The diffusion current density is Jn,diff=%.1f A/cm^2",Jndiff)
|