diff options
Diffstat (limited to '689/CH17/EX17.2/2.sce')
-rw-r--r-- | 689/CH17/EX17.2/2.sce | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/689/CH17/EX17.2/2.sce b/689/CH17/EX17.2/2.sce new file mode 100644 index 000000000..ea0ebc51e --- /dev/null +++ b/689/CH17/EX17.2/2.sce @@ -0,0 +1,11 @@ +clc; funcprot(0);
+//Example 17.2 Time to Climb Altitude
+//Variable Initialisation
+RC0 = 1000; //Rate of climb at sea level
+H = 15000; //Absolute Ceiling
+h = 7000; // Height to climb
+
+//Calculation
+t = H*log(H/(H-h))/RC0;
+//Results
+disp(t,"Time to climb (min) : ");
|