summaryrefslogtreecommitdiff
path: root/2084/CH11/EX11.11w/11_11w.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2084/CH11/EX11.11w/11_11w.sce
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '2084/CH11/EX11.11w/11_11w.sce')
-rwxr-xr-x2084/CH11/EX11.11w/11_11w.sce21
1 files changed, 21 insertions, 0 deletions
diff --git a/2084/CH11/EX11.11w/11_11w.sce b/2084/CH11/EX11.11w/11_11w.sce
new file mode 100755
index 000000000..0a3b52ae8
--- /dev/null
+++ b/2084/CH11/EX11.11w/11_11w.sce
@@ -0,0 +1,21 @@
+//developed in windows XP operating system 32bit
+//platform Scilab 5.4.1
+clc;clear;
+//example 11.11w
+//calculation of time period of the pendulum if used at the equator
+
+//given data
+t=2//time period (in s) of the pendulum at North pole
+g=9.8//gravitational acceleration(in m/s^2) of the earth
+G=6.67*10^-11//universal constant of gravitation(in N-m^2/kg^2)
+w=(2*%pi)/(24*60*60)//angular velocity(in rad/s) of the earth
+R=6400*10^3//radius(in m) of the earth
+
+//calculation
+//By equilibrium conditions,we get
+//t = 2*%pi*sqrt(l/g)..............................(1)
+//tdash = 2*%pi*sqrt(l/(g-(w*w*R)).................(2)
+//from equations (1) and (2),we get
+tdash=t*(1+(w*w*R/(2*g)))
+
+printf('the value of time period of the pendulum if used at the equator is %3.4f s',tdash)