summaryrefslogtreecommitdiff
path: root/3753/CH7/EX7.4/Ex7_4.sce
diff options
context:
space:
mode:
Diffstat (limited to '3753/CH7/EX7.4/Ex7_4.sce')
-rw-r--r--3753/CH7/EX7.4/Ex7_4.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/3753/CH7/EX7.4/Ex7_4.sce b/3753/CH7/EX7.4/Ex7_4.sce
new file mode 100644
index 000000000..eeb371fa5
--- /dev/null
+++ b/3753/CH7/EX7.4/Ex7_4.sce
@@ -0,0 +1,15 @@
+//Example number 7.4, Page number 7.15
+
+clc;clear;close
+
+// Variable declaration
+h=2 // in m
+k=2// in m
+l=0// in m
+a=450 // in m
+
+// Calculations
+d=a/(sqrt(h^2+k^2+l^2)) // in m
+
+// Result
+printf("d(220) = %.1f pm",d)