summaryrefslogtreecommitdiff
path: root/998/CH29/EX29.2/Ex2.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /998/CH29/EX29.2/Ex2.sce
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '998/CH29/EX29.2/Ex2.sce')
-rwxr-xr-x998/CH29/EX29.2/Ex2.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/998/CH29/EX29.2/Ex2.sce b/998/CH29/EX29.2/Ex2.sce
new file mode 100755
index 000000000..437abbfde
--- /dev/null
+++ b/998/CH29/EX29.2/Ex2.sce
@@ -0,0 +1,11 @@
+//Ex:2
+clc;
+clear;
+close;
+r_e=6378.14;//in km
+h=250;//in km
+a=r_e+h;//Radius of space shuttle orbit at 250km altitude in km
+u=3.986*10^5;//kepler's const inkm^3/sec^2
+t_p=(4*%pi^2*a^3/u)^(1/2);//in sec
+printf("Time period ofthe orbit=%f sec",t_p);
+printf("\nThe shuttle will slow down due to friction with earth atmosphere. Thus , the spacecraft will be in stable if its orbit period is more than 5370.30 sec"); \ No newline at end of file