From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 3204/CH3/EX3.12/Ex3_12.sce | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 3204/CH3/EX3.12/Ex3_12.sce (limited to '3204/CH3/EX3.12') 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) -- cgit