From 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 Mon Sep 17 00:00:00 2001 From: prashantsinalkar Date: Tue, 10 Oct 2017 12:27:19 +0530 Subject: initial commit / add all books --- 1205/CH5/EX5.9/S_5_9.sce | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 1205/CH5/EX5.9/S_5_9.sce (limited to '1205/CH5/EX5.9') diff --git a/1205/CH5/EX5.9/S_5_9.sce b/1205/CH5/EX5.9/S_5_9.sce new file mode 100644 index 000000000..f188fb514 --- /dev/null +++ b/1205/CH5/EX5.9/S_5_9.sce @@ -0,0 +1,28 @@ +clc; +n=2; // no of triangle +A=[4.5,13.5];//kN, loads +x=[2,4];//mm, distances of centroid from point A + +sumA=0; +sumxA=0; +for(i=1:n) + sumA=sumA+A(i); + sumxA=sumxA+x(i)*A(i); + +end + + +//Location of centroid +X=sumxA/sumA;// X co-ordinate +W=sumA;//kN, Concentrated load +printf("The equivalent concentrated mass is W= %.0f kN and its line of action is located at a distance X= %.1f m to the right of A \n",W,X); + +// Reactions +// Applying sum(F_x)=0 +Bx=0;//N +//Applying sum(M_A)=0 +By=W*X/6;//kN, Reaction at B in Y direction +//Applying sum(M_B)=0 +A=W*(6-X)/6;//kN, Reaction at B in Y direction + +printf("The rection at A=%.1f kN, At Bx=%.1f kN and By=%.1f kN \n",A,Bx,By); -- cgit