blob: daa1de57cc0587e11b70ea8872b41b32c021bead (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
clear;
clc;
b1 = 12;// inches
d1 = 4;// inches
A = 9.21;// in^2
I_xx1 = 200.1;// in^4
P = 1.055;// inches
I_yy1 = 12.12;// in^4
I_xx = 2*I_xx1;
//for equal strength I_xx = I_yy
x = 2*(sqrt(((I_xx/2)-I_yy1)/A) - P);// in^4
printf('x = %.2f inches',x);
//answer is corrct only, but it is approximated in the text book.
|