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 /998/CH29/EX29.59/Ex59.sce | |
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 '998/CH29/EX29.59/Ex59.sce')
-rwxr-xr-x | 998/CH29/EX29.59/Ex59.sce | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/998/CH29/EX29.59/Ex59.sce b/998/CH29/EX29.59/Ex59.sce new file mode 100755 index 000000000..0d2d0a771 --- /dev/null +++ b/998/CH29/EX29.59/Ex59.sce @@ -0,0 +1,14 @@ +//Ex:59
+clc;
+clear;
+close;
+G=6.67*10^(-11);//Gravitation const in N-m^2/kg^2
+r_e=6360*10^3;//radius of earth in m
+h=640*10^3;// height in m
+m=5.98*10^24;//mass of earth in kg
+u=G*m;
+v=sqrt(u/(r_e+h));// velocity in km/s
+V=7.54;// km/s
+t=(2*3.14*(r_e+h)/1000)/V;
+printf("The orbital period=%d s",t);
+printf("\n The orbital period is 1 hour 37 minutes");
\ No newline at end of file |