From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 2084/CH11/EX11.10/11_10.sce | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100755 2084/CH11/EX11.10/11_10.sce (limited to '2084/CH11/EX11.10/11_10.sce') 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) -- cgit