summaryrefslogtreecommitdiff
path: root/3669/CH8/EX8.1/1.sce
diff options
context:
space:
mode:
Diffstat (limited to '3669/CH8/EX8.1/1.sce')
-rw-r--r--3669/CH8/EX8.1/1.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/3669/CH8/EX8.1/1.sce b/3669/CH8/EX8.1/1.sce
new file mode 100644
index 000000000..afa76c6c2
--- /dev/null
+++ b/3669/CH8/EX8.1/1.sce
@@ -0,0 +1,13 @@
+
+//Variable declaration
+ni=2.5*10**19; //intrinsic concentration(per m**3)
+mewn=0.4; //mobility of electrons(m**2/Vs)
+mewp=0.2; //mobility of holes(m**2/Vs)
+e=1.6*10**-19;
+
+//Calculation
+sigma_i=ni*e*(mewn+mewp);
+rhoi=1/sigma_i; //resistivity(ohm m)
+
+//Result
+printf('resistivity is %0.3f ohm m \n',(rhoi)) \ No newline at end of file