summaryrefslogtreecommitdiff
path: root/998/CH29/EX29.55/Ex55.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.55/Ex55.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.55/Ex55.sce')
-rwxr-xr-x998/CH29/EX29.55/Ex55.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/998/CH29/EX29.55/Ex55.sce b/998/CH29/EX29.55/Ex55.sce
new file mode 100755
index 000000000..9c8474445
--- /dev/null
+++ b/998/CH29/EX29.55/Ex55.sce
@@ -0,0 +1,13 @@
+//Ex:55
+clc;
+clear;
+close;
+a=50000*1000/2;//semi major axis in km
+G=6.67*10^(-11);//Gravitation const in N-m^2/kg^2
+m=5.98*10^24;//mass of earth in kg
+u=G*m;
+st=sqrt((a^3)/u);
+s_t=6.25*10^3;
+t=2*(3.14)*s_t;
+printf("The period of a satellite=%f s",t);
+printf("\n The period of a satellite is 10 hours 54 minutes"); \ No newline at end of file