summaryrefslogtreecommitdiff
path: root/3840/CH8/EX8.10/Ex8_10.sce
diff options
context:
space:
mode:
authorprashantsinalkar2018-02-03 11:01:52 +0530
committerprashantsinalkar2018-02-03 11:01:52 +0530
commit7bc77cb1ed33745c720952c92b3b2747c5cbf2df (patch)
tree449d555969bfd7befe906877abab098c6e63a0e8 /3840/CH8/EX8.10/Ex8_10.sce
parentd1e070fe2d77c8e7f6ba4b0c57b1b42e26349059 (diff)
downloadScilab-TBC-Uploads-master.tar.gz
Scilab-TBC-Uploads-master.tar.bz2
Scilab-TBC-Uploads-master.zip
Added new codeHEADmaster
Diffstat (limited to '3840/CH8/EX8.10/Ex8_10.sce')
-rw-r--r--3840/CH8/EX8.10/Ex8_10.sce22
1 files changed, 22 insertions, 0 deletions
diff --git a/3840/CH8/EX8.10/Ex8_10.sce b/3840/CH8/EX8.10/Ex8_10.sce
new file mode 100644
index 000000000..9a2fdd508
--- /dev/null
+++ b/3840/CH8/EX8.10/Ex8_10.sce
@@ -0,0 +1,22 @@
+clear
+//
+//
+//
+
+//Variable declaration
+e=1.6*10**-19 //charge(c)
+ni=1.5*10**16 //particle density(per m**3)
+mew_e=0.14 //electron mobility(m**2/Vs)
+mew_h=0.05 //hole mobility(m**2/Vs)
+D=2.33*10**3 //density(kg/m**3)
+A=28.09 //atomic weight(kg)
+NA=6.025*10**26 //avagadro number
+
+//Calculation
+N=NA*D/A //number of atoms
+n=N/10**8 //electron concentration(per m**3)
+p=ni**2/n //hole concentration(per m**3)
+sigma=e*((n*mew_e)+(p*mew_h)) //conductivity(per ohm m)
+
+//Result
+printf("\n conductivity is %0.1f per ohm m",sigma)