diff options
Diffstat (limited to '24/CH9/EX9.8/Example9_8.sce')
-rwxr-xr-x | 24/CH9/EX9.8/Example9_8.sce | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/24/CH9/EX9.8/Example9_8.sce b/24/CH9/EX9.8/Example9_8.sce new file mode 100755 index 000000000..f33b3fc76 --- /dev/null +++ b/24/CH9/EX9.8/Example9_8.sce @@ -0,0 +1,20 @@ +//Given that
+Mi = 850 //in kg
+R = 2.3 //kg/s
+Vrel = 2800 //in kg
+
+//Sample Problem 9-8a
+printf("**Sample Problem 9-8a**\n")
+T = R*Vrel
+printf("The Thrust force rocket engine provide is equal to %dN\n", T)
+
+//Sample Problem 9-8b
+printf("\n**Sample Problem 9-8b**\n")
+a = T/Mi
+printf("The initial acceleration of rocket is %fm/s^2\n", a)
+
+//Sample Problem 9-8c
+printf("\n**Sample Problem 9-8c**\n")
+Mf = 180 //in kg
+Vf = Vrel * log(Mi/Mf)
+printf("The final velocity of the rocket is %fm/s", Vf)
\ No newline at end of file |