summaryrefslogtreecommitdiff
path: root/2084/CH11/EX11.9/11_9.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2084/CH11/EX11.9/11_9.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 '2084/CH11/EX11.9/11_9.sce')
-rwxr-xr-x2084/CH11/EX11.9/11_9.sce19
1 files changed, 19 insertions, 0 deletions
diff --git a/2084/CH11/EX11.9/11_9.sce b/2084/CH11/EX11.9/11_9.sce
new file mode 100755
index 000000000..fc7b539e7
--- /dev/null
+++ b/2084/CH11/EX11.9/11_9.sce
@@ -0,0 +1,19 @@
+//developed in windows XP operating system 32bit
+//platform Scilab 5.4.1
+clc;clear;
+//example 11.9
+//calculation of the speed and time period of the satellite
+
+//given data
+h=600*10^3//height(in m) of the satellite
+M=6*10^24//mass(in kg) of the earth
+R=6400*10^3//radius(in m) of the earth
+G=6.67*10^-11//universal constant of gravitation(in N-m^2/kg^2)
+
+//calculation
+a=h+R//distance of satellite from centre of the earth
+v=sqrt(G*M/a)//speed of satellite
+T=(2*%pi*a)/v//time period of satellite
+
+printf('the speed of the satellite is %3.1e m/s or %3.1f km/s',v,v*10^-3)
+printf('\nthe time period of the satellite is %3.1e s',T)