diff options
Diffstat (limited to '2084/CH11/EX11.9w/11_9w.sce')
-rwxr-xr-x | 2084/CH11/EX11.9w/11_9w.sce | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/2084/CH11/EX11.9w/11_9w.sce b/2084/CH11/EX11.9w/11_9w.sce new file mode 100755 index 000000000..a5976ab8b --- /dev/null +++ b/2084/CH11/EX11.9w/11_9w.sce @@ -0,0 +1,17 @@ +//developed in windows XP operating system 32bit
+//platform Scilab 5.4.1
+clc;clear;
+//example 11.9w
+//calculation of the maximum height attained by the particle
+
+//given data
+v0=9.8*10^3//speed(in m/s) the particle is fired
+R=6400*10^3//radius(in m) of the earth
+g=9.8//gravitational acceleration(in m/s^2) of the earth
+
+//calculation
+//by the principle of conservation of energy
+//(-G*M*m/R) + (m*v0*v0/2) = -(G*M*m/(R+H))
+H=(R*R/(R-(v0*v0/(2*g))))-R
+
+printf('the maximum height attained by the particle is %d km',H*10^-3)
|