summaryrefslogtreecommitdiff
path: root/3204/CH15/EX15.21/Ex15_21.sce
diff options
context:
space:
mode:
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)