summaryrefslogtreecommitdiff
path: root/1172/CH8/EX8.9
diff options
context:
space:
mode:
Diffstat (limited to '1172/CH8/EX8.9')
-rwxr-xr-x1172/CH8/EX8.9/8_9.txt4
-rwxr-xr-x1172/CH8/EX8.9/Example8_9.sce14
2 files changed, 18 insertions, 0 deletions
diff --git a/1172/CH8/EX8.9/8_9.txt b/1172/CH8/EX8.9/8_9.txt
new file mode 100755
index 000000000..4e1551c0f
--- /dev/null
+++ b/1172/CH8/EX8.9/8_9.txt
@@ -0,0 +1,4 @@
+ # Problem 9 #
+Standard formula used U_f - U_i = 1/2 * m *(u^2 - v^2)
+
+ Height reached by rocket before returning is 2.586947e+09 km.
diff --git a/1172/CH8/EX8.9/Example8_9.sce b/1172/CH8/EX8.9/Example8_9.sce
new file mode 100755
index 000000000..412f318d1
--- /dev/null
+++ b/1172/CH8/EX8.9/Example8_9.sce
@@ -0,0 +1,14 @@
+clc
+//Given that
+R_e = 6.4e6 // radius of Earth in km
+M_e = 6e24 // mass of Earth in kg
+G = 6.67e-11 // universal gravitational constant
+u = 6e3 // initial speed of rocket in m/s
+
+// sample problem 9 page No. 302
+printf("\n\n\n # Problem 9 # \n")
+
+printf("Standard formula used U_f - U_i = 1/2 * m *(u^2 - v^2)\n ")
+h = ((R_e * 1e3)^2 * u^2) / (2 * G * M_e - R_e * u^2) / 1000 // calculation of Height reached by rocket before returning to Earth
+
+printf ("\n Height reached by rocket before returning is %e km.",h)