summaryrefslogtreecommitdiff
path: root/2102/CH1/EX1.7/exa_1_7.sce
diff options
context:
space:
mode:
Diffstat (limited to '2102/CH1/EX1.7/exa_1_7.sce')
-rwxr-xr-x2102/CH1/EX1.7/exa_1_7.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/2102/CH1/EX1.7/exa_1_7.sce b/2102/CH1/EX1.7/exa_1_7.sce
new file mode 100755
index 000000000..fee6ad519
--- /dev/null
+++ b/2102/CH1/EX1.7/exa_1_7.sce
@@ -0,0 +1,12 @@
+// Exa 1.7
+clc;
+clear;
+close;
+// Given data
+format('v',13)
+ni= 1.4*10^18;//in /m^3
+N_D= 1.4*10^24;//in /m^3
+n=N_D;
+p= ni^2/n;// in /m^3
+nbyp= n/p;
+disp(nbyp,"The ratio of electron to holes concentration is : ")