summaryrefslogtreecommitdiff
path: root/3204/CH12/EX12.9/Ex12_9.sce
diff options
context:
space:
mode:
Diffstat (limited to '3204/CH12/EX12.9/Ex12_9.sce')
-rw-r--r--3204/CH12/EX12.9/Ex12_9.sce32
1 files changed, 32 insertions, 0 deletions
diff --git a/3204/CH12/EX12.9/Ex12_9.sce b/3204/CH12/EX12.9/Ex12_9.sce
new file mode 100644
index 000000000..b20336816
--- /dev/null
+++ b/3204/CH12/EX12.9/Ex12_9.sce
@@ -0,0 +1,32 @@
+// Initilization of variables
+b1=80 // mm // width of the flange pate
+d1=20 // mm // depth of the flange plate
+b2=40 // mm // width/thickness of the web
+d2=60 // mm // depth of the web
+// Calculations
+// (a) Location of the centroid of the composite area
+A_1=b1*d1 // mm^2 // area of the flange plate
+y_1=d2+(d1/2) // mm // y-coordinate of the centroid
+A_2=b2*d2 // mm^2 // area of the web
+y_2=d2/2 // mm // y-coordinate of the centroid
+y_c=((A_1*y_1)+(A_2*y_2))/(A_1+A_2) // mm // from the bottom edge
+// (b) Moment of Inertia of the composite area about the centroidal x-axis
+// Area (A_1) M.I of area A_1 about x-axis
+I_x1=(b1*(d1^3))/12 // mm^4
+// M.I of the area A_1 about the centroidal x-axis of the composite area (By parallel-axis theorem)
+OC_1=70 // mm // from the bottom edge
+OC_2=30 // mm // from the bottom edge
+OC=y_c // mm // from the bottom edge
+d_1=(d2-y_c)+(d1/2) // mm
+d_2=y_c-OC_2 // mm
+I_X1=(I_x1)+(A_1*d_1^2) // mm^4
+// Area(A_2) M.I of area A_2 about x-axis
+I_x2=(b2*d2^3)/12 // mm^4
+// M.I of the area A_2 about the centroidal x-axis of the composite area (By parallel-axis theorem)
+I_X2=(I_x2)+(A_2*d_2^2) // mm^4
+// COMPOSITE AREA:M.O.I of the composite area about the centroidal x-axis
+I_x=(I_X1)+(I_X2) // mm^4
+// Results
+clc
+printf('The M.O.I of the composite area about the centroidal x-axis is %f mm^4 \n',I_x)
+// NOTE: The answer given in the text book is 2.31*10^3 insted of 2.31*10^6.