summaryrefslogtreecommitdiff
path: root/3557/CH17/EX17.1/Ex17_1.sce
diff options
context:
space:
mode:
Diffstat (limited to '3557/CH17/EX17.1/Ex17_1.sce')
-rw-r--r--3557/CH17/EX17.1/Ex17_1.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/3557/CH17/EX17.1/Ex17_1.sce b/3557/CH17/EX17.1/Ex17_1.sce
new file mode 100644
index 000000000..54aff4636
--- /dev/null
+++ b/3557/CH17/EX17.1/Ex17_1.sce
@@ -0,0 +1,13 @@
+//Example 17.1//
+
+psi=2.33;//g cm^-3 //Density of Silicon
+a=28.09;//amu //atomic mass of silicon
+b=10^6;//cm^3/m^3 //given
+c=1;//g.atom //given
+d=0.6023*10^24;//atoms/g.atom //Avogadro's Number
+p=psi*b*(c/a)*d
+mprintf("p = %e atoms/m^3",p)
+e=28;//conduction electron
+f=10^14;//atoms //given
+n=(e/f)*p
+mprintf("\nn = %e m^-3",n)