summaryrefslogtreecommitdiff
path: root/377/CH5/EX5.4/5_4.sce
diff options
context:
space:
mode:
Diffstat (limited to '377/CH5/EX5.4/5_4.sce')
-rw-r--r--377/CH5/EX5.4/5_4.sce8
1 files changed, 8 insertions, 0 deletions
diff --git a/377/CH5/EX5.4/5_4.sce b/377/CH5/EX5.4/5_4.sce
new file mode 100644
index 000000000..25ba35159
--- /dev/null
+++ b/377/CH5/EX5.4/5_4.sce
@@ -0,0 +1,8 @@
+disp("From Boltzmann approximation, n=Nc=2.78*10^19 cm^3");
+Nc=2.78*10^19;
+n=Nc*0.78;
+pi=3.14;
+a=0.65; //say a=ΞΎ(0)
+printf('\n The value of n form Joyce-Dixon approximation is %f',n);
+n1=2*a/sqrt(pi);
+printf('\n The value of n form graph is %f*Nc',n1); \ No newline at end of file