summaryrefslogtreecommitdiff
path: root/3204/CH15/EX15.21/Ex15_21.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /3204/CH15/EX15.21/Ex15_21.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 '3204/CH15/EX15.21/Ex15_21.sce')
-rw-r--r--3204/CH15/EX15.21/Ex15_21.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/3204/CH15/EX15.21/Ex15_21.sce b/3204/CH15/EX15.21/Ex15_21.sce
new file mode 100644
index 000000000..d31e57aaa
--- /dev/null
+++ b/3204/CH15/EX15.21/Ex15_21.sce
@@ -0,0 +1,13 @@
+// Initilization of variables
+W=1 // N // Weight of the bob
+theta=8 // degree // angle made by the bob with the vertical
+r=100 // m // radius of the curve
+g=9.81 // m/s^2 // acc due to gravity
+// Calculations
+// from eq'n 1 & 2 we get v as,
+v=(sqrt(g*r*tand(theta)))*(3600/1000) // km/hr
+T=W/cosd(theta) // N // from eq'n 2
+// Results
+clc
+printf('The speed of the cariage is %f km/hr \n',v)
+printf('The tension in the chord is %f N \n',T)