summaryrefslogtreecommitdiff
path: root/2744/CH5/EX5.17
diff options
context:
space:
mode:
Diffstat (limited to '2744/CH5/EX5.17')
-rwxr-xr-x2744/CH5/EX5.17/Ex5_17.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/2744/CH5/EX5.17/Ex5_17.sce b/2744/CH5/EX5.17/Ex5_17.sce
new file mode 100755
index 000000000..a00f42c9d
--- /dev/null
+++ b/2744/CH5/EX5.17/Ex5_17.sce
@@ -0,0 +1,14 @@
+clear;
+clc;
+b = 12;// inches
+d = 6;// inches
+h = 14;// inches
+t = 1/2;// inch
+A = 12.94;// in^2
+//section moment of inertia
+I_xx_s = 315.3;// in^4
+I_yy_s = 22.27;// in^4
+
+I_xx = 2*I_xx_s + 2*((1/12)*h*(2*t)^3 + h*2*t*(d+t)^2);// in^4
+I_yy = 2*(I_yy_s + A*(d/2)^2) + 2*((1/12)*2*t*h^3);// in^4
+printf('I_xx = %.2f in^4\n I_yy = %.2f in^4',I_xx,I_yy);