diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /2744/CH6/EX6.8 | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '2744/CH6/EX6.8')
-rwxr-xr-x | 2744/CH6/EX6.8/Ex6_8.sce | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/2744/CH6/EX6.8/Ex6_8.sce b/2744/CH6/EX6.8/Ex6_8.sce new file mode 100755 index 000000000..8016c65ca --- /dev/null +++ b/2744/CH6/EX6.8/Ex6_8.sce @@ -0,0 +1,20 @@ +clear;
+clc;
+d = 12;// inches
+h = 5;// inches
+l = 20;// feet
+E = 13000; //tons/in^2
+I_xx = 220;// in^4
+W = 4;// tons
+W1 = 3;// tons
+a = 15;// feet
+b = l-a;// feet
+a1 = 16;// feet
+b1 = l-a1;// feet
+K1 = (-2*W1*b1*l)/(W1*b1-W*b);
+K2 = (W*b*a^2 + 2*a*W*b^2 + 2*W1*b1*l^2 - W1*b1*a1^2 -2*W1*a1*b1^2 +W1*b1*l^2)/(3*(W1*b1 - W*b));
+x = -0.5*K1 + sqrt(-K2 + 0.25*K1^2);// feet
+x1 = l-x;// feet
+y_max = W*b*x*1728*(a^2 +2*a*b -x^2)/(6*E*I_xx*l) + W1*b1*x1*1728*(a1^2 +2*a1*b1 -x1^2)/(6*E*I_xx*l);// inches
+printf('The position of the maximum deflection is, x = %.2f feet.',x);
+printf('\n And the maximum deflection is, y_max = %.4f inches.',y_max);
|