diff options
Diffstat (limited to '3137/CH13/EX13.29/Ex13_29.sce')
-rwxr-xr-x | 3137/CH13/EX13.29/Ex13_29.sce | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/3137/CH13/EX13.29/Ex13_29.sce b/3137/CH13/EX13.29/Ex13_29.sce new file mode 100755 index 000000000..527cd96f3 --- /dev/null +++ b/3137/CH13/EX13.29/Ex13_29.sce @@ -0,0 +1,14 @@ +//Initilization of variables
+//Modifying the value of C without vo^2 in it
+C=5000*5280
+G=3.43*10^-8 //Gravatational Constant
+M=4.09*10^23 //Mass of the Earth
+a=5.31*10^8
+//When the orbit is circular e=0
+vo1=sqrt(a) //ft/s
+//When the orbit is parabolic e=1
+vo2=sqrt((C*a+G*M)/C) //ft/s
+//Result
+clc
+printf('The value of vo1=%f is smaller than vo2=%f,hence the\n Satellite will enter a hyperbolic path and never return',vo1,vo2)
+//Decimal accuracy causes discrepancy in answers
|