summaryrefslogtreecommitdiff
path: root/1730/CH3/EX3.22/Exa3_22.sce
diff options
context:
space:
mode:
Diffstat (limited to '1730/CH3/EX3.22/Exa3_22.sce')
-rwxr-xr-x1730/CH3/EX3.22/Exa3_22.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/1730/CH3/EX3.22/Exa3_22.sce b/1730/CH3/EX3.22/Exa3_22.sce
new file mode 100755
index 000000000..fcaf5f3b1
--- /dev/null
+++ b/1730/CH3/EX3.22/Exa3_22.sce
@@ -0,0 +1,12 @@
+//Exa3.22
+clc;
+clear;
+close;
+// given data
+N_A=8*10^14;// in /cm^3
+N_D=N_A;
+n_i=2*10^13;// in /cm^3
+k=8.61*10^-5;// in eV/K
+T=300;// in K
+V_0=k*T*log(N_D*N_A/n_i^2);
+disp("Potential barrier is : "+string(V_0)+" V"); \ No newline at end of file