summaryrefslogtreecommitdiff
path: root/2594/CH1/EX1.17/Ex1_17.sce
diff options
context:
space:
mode:
Diffstat (limited to '2594/CH1/EX1.17/Ex1_17.sce')
-rwxr-xr-x2594/CH1/EX1.17/Ex1_17.sce9
1 files changed, 9 insertions, 0 deletions
diff --git a/2594/CH1/EX1.17/Ex1_17.sce b/2594/CH1/EX1.17/Ex1_17.sce
new file mode 100755
index 000000000..327acc941
--- /dev/null
+++ b/2594/CH1/EX1.17/Ex1_17.sce
@@ -0,0 +1,9 @@
+clc
+a=5*10^-8
+disp("a= "+string(a)+"cm") //initializing value of lattice constant.
+N=2
+disp("N= "+string(N)) //initializing value of no.of atoms in unit cell.
+V=a^3
+disp("V=a^3 = "+string(V)+"cm^3") //initializing value of total Volume of the unit cell.
+na =(N/(V))
+disp("na=(no.of atoms in unit cell/Volume of the unit cell) =(N/(V))= "+string(na))//calculation