summaryrefslogtreecommitdiff
path: root/3718/CH7/EX7.2/Ex7_2.sce
diff options
context:
space:
mode:
Diffstat (limited to '3718/CH7/EX7.2/Ex7_2.sce')
-rw-r--r--3718/CH7/EX7.2/Ex7_2.sce10
1 files changed, 10 insertions, 0 deletions
diff --git a/3718/CH7/EX7.2/Ex7_2.sce b/3718/CH7/EX7.2/Ex7_2.sce
new file mode 100644
index 000000000..ae5c51126
--- /dev/null
+++ b/3718/CH7/EX7.2/Ex7_2.sce
@@ -0,0 +1,10 @@
+//Chapter 7: Solid State
+//Problem: 2
+clc;
+
+//Declaration of Variable
+a = 450 //in pm
+
+// Solution
+d = a / sqrt(2 ** 2 + 2 ** 2 + 0)
+mprintf("Interplanar spacing : %d",d)