summaryrefslogtreecommitdiff
path: root/689/CH17/EX17.3/3.sce
diff options
context:
space:
mode:
Diffstat (limited to '689/CH17/EX17.3/3.sce')
-rw-r--r--689/CH17/EX17.3/3.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/689/CH17/EX17.3/3.sce b/689/CH17/EX17.3/3.sce
new file mode 100644
index 000000000..40e274eec
--- /dev/null
+++ b/689/CH17/EX17.3/3.sce
@@ -0,0 +1,11 @@
+clc; funcprot(0);
+//Example 17.2 Time to Climb Formula
+//Variable Initialisation
+h1 = 8000;
+h2 = 13600;
+
+//Calculation
+H = h1^2/(2*h1-h2);
+
+//Results
+disp(H,"Ceiling (ft) : ");