diff options
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 |