From f35ea80659b6a49d1bb2ce1d7d002583f3f40947 Mon Sep 17 00:00:00 2001 From: prashantsinalkar Date: Tue, 10 Oct 2017 12:38:01 +0530 Subject: updated the code --- 3411/CH15/EX7.2.u2/Ex7_2_u2.sce | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to '3411/CH15/EX7.2.u2') 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) -- cgit