summaryrefslogtreecommitdiff
path: root/2792/CH3
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:38:01 +0530
committerprashantsinalkar2017-10-10 12:38:01 +0530
commitf35ea80659b6a49d1bb2ce1d7d002583f3f40947 (patch)
treeeb72842d800ac1233e9d890e020eac5fd41b0b1b /2792/CH3
parent7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (diff)
downloadScilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.tar.gz
Scilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.tar.bz2
Scilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.zip
updated the code
Diffstat (limited to '2792/CH3')
-rwxr-xr-x2792/CH3/EX3.16/Ex3_16.sce50
1 files changed, 23 insertions, 27 deletions
diff --git a/2792/CH3/EX3.16/Ex3_16.sce b/2792/CH3/EX3.16/Ex3_16.sce
index f52687136..7cd3bbe91 100755
--- a/2792/CH3/EX3.16/Ex3_16.sce
+++ b/2792/CH3/EX3.16/Ex3_16.sce
@@ -1,27 +1,23 @@
-clc
-e = 1.6*10^-19
-disp("e= "+string(e)+"C")//initializing value of charge of electron
-KbT = 0.026
-disp("kbT = "+string(kbT)+"V") //initializing value of kbT at 300K
-sigma=10
-disp("sigma = "+string(sigma)+"ohmcm^-1") //initializing value of conductivity
-mu_n=1100
-disp("mu_n = "+string(mu_n)+"cm^2(Vs)^-1") //initializing value of mobility of electrons
-mu_p=400
-disp("mu_p = "+string(mu_p)+"cm^2(Vs)^-1") //initializing value of mobility of holes
-Nd = 10^17
-disp("Nd= "+string(Nd)+"cm^-3")//initializing value of doping
-n = sigma/(e*mu_n)
-disp("The carrier concentration in n type material is n = sigma/(e*mu_n)= "+string(n)+"cm^-3")//calculation
-// the answer in textbook is given in %
-//The excess drops by 50% once light is off using this fact in below equation
-T = -1/log(.5)
-disp("The recombination time is T = -1/log(.5)= "+string(T)+"micro-sec")//calculation
-Dp = mu_p*kbT
-disp("The diffusion constant is Dp = mu_p*kbT = "+string(Dp)+"cm^2/s")//calculation
-Lp = sqrt(Dp*T*10^-6)
-disp("The diffusion length is Lp = sqrt(Dp*T*10^-6) = "+string(Lp)+"m")//calculation
-
-
-
-
+clc
+e = 1.6*10^-19
+disp("e= "+string(e)+"C")//initializing value of charge of electron
+kBT = 0.026
+disp("kbT = "+string(kbT)+"V") //initializing value of kbT at 300K
+sigma=10
+disp("sigma = "+string(sigma)+"ohmcm^-1") //initializing value of conductivity
+mu_n=1100
+disp("mu_n = "+string(mu_n)+"cm^2(Vs)^-1") //initializing value of mobility of electrons
+mu_p=400
+disp("mu_p = "+string(mu_p)+"cm^2(Vs)^-1") //initializing value of mobility of holes
+Nd = 10^17
+disp("Nd= "+string(Nd)+"cm^-3")//initializing value of doping
+n = sigma/(e*mu_n)
+disp("The carrier concentration in n type material is n = sigma/(e*mu_n)= "+string(n)+"cm^-3")//calculation
+// the answer in textbook is given in %
+//The excess drops by 50% once light is off using this fact in below equation
+T = -1/log(.5)
+disp("The recombination time is T = -1/log(.5)= "+string(T)+"micro-sec")//calculation
+Dp = mu_p*kbT
+disp("The diffusion constant is Dp = mu_p*kbT = "+string(Dp)+"cm^2/s")//calculation
+Lp = sqrt(Dp*T*10^-6)
+disp("The diffusion length is Lp = sqrt(Dp*T*10^-6) = "+string(Lp)+"m")//calculation \ No newline at end of file