summaryrefslogtreecommitdiff
path: root/3401/CH4/EX4.11/Ex4_11.sce
diff options
context:
space:
mode:
Diffstat (limited to '3401/CH4/EX4.11/Ex4_11.sce')
-rwxr-xr-x3401/CH4/EX4.11/Ex4_11.sce19
1 files changed, 19 insertions, 0 deletions
diff --git a/3401/CH4/EX4.11/Ex4_11.sce b/3401/CH4/EX4.11/Ex4_11.sce
new file mode 100755
index 000000000..c8b2cc85c
--- /dev/null
+++ b/3401/CH4/EX4.11/Ex4_11.sce
@@ -0,0 +1,19 @@
+clc
+
+T=300 //K
+Nd=3*10**15 //cm**-3
+Na=10**16 //cm**-3
+k=8.617*10^-5 //eV/K
+ni=1.5*10**16 //cm^-3
+
+a=((Na-Nd)/2)
+disp(a)
+b=sqrt(((Na-Nd)/2)^2+(ni^2))
+disp(b)
+
+p0=a+b
+disp(p0,"p0 in cm^-3 is=") //textbook ans is wrpng
+
+n0=(ni^2)/p0
+disp(n0,"n0 in cm^-3 is=") //textbook ans is wrpng
+