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