diff options
Diffstat (limited to '3651/CH2/EX2.4/Ex2_4.sce')
-rw-r--r-- | 3651/CH2/EX2.4/Ex2_4.sce | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/3651/CH2/EX2.4/Ex2_4.sce b/3651/CH2/EX2.4/Ex2_4.sce new file mode 100644 index 000000000..29263b468 --- /dev/null +++ b/3651/CH2/EX2.4/Ex2_4.sce @@ -0,0 +1,16 @@ +
+clc
+
+
+
+//Variable declaration
+h=2
+k=2
+l=0
+a=450
+
+//Calculations
+d=a/(sqrt(h**2+k**2+l**2))
+
+//Result
+printf('d(220) =%0.3fpm\n',(d))
|