summaryrefslogtreecommitdiff
path: root/3204/CH10/EX10.4
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /3204/CH10/EX10.4
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/CH10/EX10.4')
-rw-r--r--3204/CH10/EX10.4/Ex10_4.sce22
1 files changed, 22 insertions, 0 deletions
diff --git a/3204/CH10/EX10.4/Ex10_4.sce b/3204/CH10/EX10.4/Ex10_4.sce
new file mode 100644
index 000000000..ce4b95727
--- /dev/null
+++ b/3204/CH10/EX10.4/Ex10_4.sce
@@ -0,0 +1,22 @@
+// Initilization of variables
+m=0.5 // kg/m // mass of the cable per unit length
+g=9.81 // m/s^2
+x=30 // m // length AB
+y=0.5 // m // dist between C & the horizontal
+x_b=15 // m // dist of horizontal from C to B
+// Calculations
+w=m*g // N/m // weight of the cable per unit length
+T_0=(w*x_b^2)/(2*y) // N // From eq'n 1
+T_B=sqrt((T_0)^2+(w*x/2)^2) // N // Tension in the cable at point B
+W=T_B // N // As pulley is frictionless the tension in the pulley on each side is same,so W=T_B
+// Slope of the cable at B,
+theta=acosd(T_0/T_B) // degree
+// Now length of the cable between C & B is,
+S_cb=x_b(1+((2/3)*(y/x_b)^2)) // m
+// Now total length of the cable AB is,
+S_ab=2*S_cb // m
+// Results
+clc
+printf('(i) The magnitude of load W is %f N \n',W)
+printf('(ii) The angle of the cable with the horizontal at B is %f degree \n',theta)
+printf('(iii) The total length of the cable AB is %f m \n',S_ab)