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.9w/11_9w.sce | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100755 2084/CH11/EX11.9w/11_9w.sce (limited to '2084/CH11/EX11.9w/11_9w.sce') 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) -- cgit