summaryrefslogtreecommitdiff
path: root/1787/CH2/EX2.6/Exa2_6.sce
diff options
context:
space:
mode:
Diffstat (limited to '1787/CH2/EX2.6/Exa2_6.sce')
-rwxr-xr-x1787/CH2/EX2.6/Exa2_6.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/1787/CH2/EX2.6/Exa2_6.sce b/1787/CH2/EX2.6/Exa2_6.sce
new file mode 100755
index 000000000..035e8e57c
--- /dev/null
+++ b/1787/CH2/EX2.6/Exa2_6.sce
@@ -0,0 +1,12 @@
+//Exa 2.6
+clc;
+clear;
+close;
+//given data
+ni=1.4*10^18;//in atoms/m^3
+Nd=1.4*10^24;//in atoms/m^3
+n=Nd;//in atoms/m^3
+p=ni^2/n;//in atoms/m^3
+ratio=n/p;//unitless
+disp(p,"Concentration of holes in per m^3 : ");
+disp(ratio,"Ratio of electron to hole concentration : "); \ No newline at end of file