summaryrefslogtreecommitdiff
path: root/2084/CH11/EX11.7/11_7.sce
diff options
context:
space:
mode:
Diffstat (limited to '2084/CH11/EX11.7/11_7.sce')
-rwxr-xr-x2084/CH11/EX11.7/11_7.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/2084/CH11/EX11.7/11_7.sce b/2084/CH11/EX11.7/11_7.sce
new file mode 100755
index 000000000..d89e78537
--- /dev/null
+++ b/2084/CH11/EX11.7/11_7.sce
@@ -0,0 +1,15 @@
+//developed in windows XP operating system 32bit
+//platform Scilab 5.4.1
+clc;clear;
+//example 11.7
+//calculation of the gravitational field due to the moon at its surface
+
+//given data
+M=7.36*10^22//mass(in kg) of the moon
+G=6.67*10^-11//universal constant of gravitation(in N-m^2/kg^2)
+a=1.74*10^6//radius(in m) of the moon
+
+//calculation
+E=G*M/(a*a)//formula of gravitational field
+
+printf('the gravitational field due to the moon at its surface is %3.2f N/kg',E)