summaryrefslogtreecommitdiff
path: root/3204/CH3/EX3.12
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /3204/CH3/EX3.12
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/CH3/EX3.12')
-rw-r--r--3204/CH3/EX3.12/Ex3_12.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/3204/CH3/EX3.12/Ex3_12.sce b/3204/CH3/EX3.12/Ex3_12.sce
new file mode 100644
index 000000000..f401d9f62
--- /dev/null
+++ b/3204/CH3/EX3.12/Ex3_12.sce
@@ -0,0 +1,16 @@
+// Initilization of variables
+w1=1.5 //kN/m // intensity of varying load at the starting point of the beam
+w2=4.5 //kN/m // intensity of varying load at the end of the beam
+l=6 //m // ength of the beam
+// Calculations
+// The varying load distribution is divided into a rectangle and a right angled triangle
+W1=w1*l //kN // where W1 is the area of the load diagram(rectangle ABED)
+x1=l/2 //m // centroid of the rectangular load system
+W2=(w2-w1)*l/2 //kN // where W1 is the area of the load diagram(triangle DCE)
+x2=2*l/3 //m // centroid of the triangular load system
+W=W1+W2 //kN // W is the resultant
+x=((W1*x1)+(W2*x2))/W //m // where x is the distance where the resultant lies
+//Results
+clc
+printf('The resultant of the distributed load system is %f kN \n',W)
+printf('The line of action of the resulting load is %f m \n',x)