summaryrefslogtreecommitdiff
path: root/2084/CH11/EX11.10/11_10.sce
diff options
context:
space:
mode:
Diffstat (limited to '2084/CH11/EX11.10/11_10.sce')
-rwxr-xr-x2084/CH11/EX11.10/11_10.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/2084/CH11/EX11.10/11_10.sce b/2084/CH11/EX11.10/11_10.sce
new file mode 100755
index 000000000..ccb4633c1
--- /dev/null
+++ b/2084/CH11/EX11.10/11_10.sce
@@ -0,0 +1,15 @@
+//developed in windows XP operating system 32bit
+//platform Scilab 5.4.1
+clc;clear;
+//example 11.10
+//calculation of the escape velocity from the moon
+
+//given data
+M=7.4*10^22//mass(in kg) of the moon
+R=1740*10^3//radius(in m) of the moon
+G=6.67*10^-11//universal constant of gravitation(in N-m^2/kg^2)
+
+//calculation
+v=sqrt(2*G*M/R)//formula of the escape velocity
+
+printf('the escape velocity from the moon is %3.1f km/s',v*10^-3)