summaryrefslogtreecommitdiff
path: root/2198/CH1/EX1.16.6/Ex1_16_6.sce
diff options
context:
space:
mode:
Diffstat (limited to '2198/CH1/EX1.16.6/Ex1_16_6.sce')
-rwxr-xr-x2198/CH1/EX1.16.6/Ex1_16_6.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/2198/CH1/EX1.16.6/Ex1_16_6.sce b/2198/CH1/EX1.16.6/Ex1_16_6.sce
new file mode 100755
index 000000000..79dc66366
--- /dev/null
+++ b/2198/CH1/EX1.16.6/Ex1_16_6.sce
@@ -0,0 +1,15 @@
+//Ex 1.16.6
+clc;clear;close;
+format('v',9);
+
+//Given :
+ND=10^14;//per m^3
+Jn=10;//mA/cm^2
+E=3;//V/cm
+T=27+273;//K
+q=1.6*10^-19;//Coulomb
+mu_n=1500;//cm^2/V-s
+Dn=mu_n/39;//Diffusion constant
+n=ND;//per m^3
+dnBYdx=((Jn*10^-3/10^-4)-n*q*mu_n*E)/q/Dn;//concentration gradient
+disp(dnBYdx,"Concentration gradient, dn/dx : ");