summaryrefslogtreecommitdiff
path: root/1223/CH1/EX1.3/Ex1_3.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1223/CH1/EX1.3/Ex1_3.sce
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '1223/CH1/EX1.3/Ex1_3.sce')
-rwxr-xr-x1223/CH1/EX1.3/Ex1_3.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/1223/CH1/EX1.3/Ex1_3.sce b/1223/CH1/EX1.3/Ex1_3.sce
new file mode 100755
index 000000000..112b5f20e
--- /dev/null
+++ b/1223/CH1/EX1.3/Ex1_3.sce
@@ -0,0 +1,11 @@
+clear;
+clc;
+//Example1.3
+T=300;//(°K)Given Temperature
+Na=10^16;//(cm^-3)Acceptor concentration in p region
+Nd=10^17;//(cm^-3)Donor concentration in n region
+n_i=1.5*10^10;//(cm^-3)intrinsic carrier concentration
+V_T=0.026;//(Volt)terminal voltage
+//built-in potential
+V_bi=V_T*log(Na*Nd/(n_i)^2);
+printf('\nthe built-in potential=%f V',V_bi)