diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /1172/CH8/EX8.9 | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '1172/CH8/EX8.9')
-rwxr-xr-x | 1172/CH8/EX8.9/8_9.txt | 4 | ||||
-rwxr-xr-x | 1172/CH8/EX8.9/Example8_9.sce | 14 |
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)
|