summaryrefslogtreecommitdiff
path: root/1511/CH2/EX2.17
diff options
context:
space:
mode:
Diffstat (limited to '1511/CH2/EX2.17')
-rwxr-xr-x1511/CH2/EX2.17/ex2_17.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/1511/CH2/EX2.17/ex2_17.sce b/1511/CH2/EX2.17/ex2_17.sce
new file mode 100755
index 000000000..281c6d9e4
--- /dev/null
+++ b/1511/CH2/EX2.17/ex2_17.sce
@@ -0,0 +1,11 @@
+// Example 2.17 page no-72
+clear
+clc
+sigma=100 //Ohm-cm
+e=1.6*10^-19 //c
+mup=1800 //cm^2/V-sec
+ni=2.5*10^13 // /cm^3
+printf("\nIn p-type semiconductor, p>>n.")
+pp=sigma/(e*mup)
+n=ni^2/pp
+printf("\nPp=%.2f*10^17 holes/cm^3\nn=%.1f*10^9 electrons/cm^3",pp/10^17,n/10^9)