diff options
author | prashantsinalkar | 2018-02-03 10:59:42 +0530 |
---|---|---|
committer | prashantsinalkar | 2018-02-03 10:59:42 +0530 |
commit | d1e070fe2d77c8e7f6ba4b0c57b1b42e26349059 (patch) | |
tree | 612077a22c8142c0ae754ec11882a4e7d5dc25a4 /3776/CH6/EX6.5 | |
parent | f35ea80659b6a49d1bb2ce1d7d002583f3f40947 (diff) | |
download | Scilab-TBC-Uploads-d1e070fe2d77c8e7f6ba4b0c57b1b42e26349059.tar.gz Scilab-TBC-Uploads-d1e070fe2d77c8e7f6ba4b0c57b1b42e26349059.tar.bz2 Scilab-TBC-Uploads-d1e070fe2d77c8e7f6ba4b0c57b1b42e26349059.zip |
Modified the code
Diffstat (limited to '3776/CH6/EX6.5')
-rw-r--r-- | 3776/CH6/EX6.5/Ex6_5.sce | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/3776/CH6/EX6.5/Ex6_5.sce b/3776/CH6/EX6.5/Ex6_5.sce index 551491f53..6e8121ffb 100644 --- a/3776/CH6/EX6.5/Ex6_5.sce +++ b/3776/CH6/EX6.5/Ex6_5.sce @@ -7,17 +7,17 @@ l_1 = 1 //in l_2 = 3 //in b_1 = 4 //in b_2 = 1 //in -A_1 = l_1* b_1 //in2 - area of part_1 +A_1 = l_1* b_1 //sq.in - area of part_1 y_1 = 0.5 //in com distance from ab -A_2 =l_2*b_2 //in2 - area of part_1 +A_2 =l_2*b_2 //sq.in - area of part_1 y_2 = 2.5 //in com distance from ab -A_3 = l_2*b_2 //in2 - area of part_1 +A_3 = l_2*b_2 //sq.in - area of part_1 y_3 = 2.5 //in com distance from ab y_net = (A_1*y_1 +A_2*y_2 + A_3*y_3)/(A_1+A_2+A_3) //in - The com of the whole system c_max = (4-y_net) //in - The maximum distace from com to end c_min = y_net //in - the minimum distance from com to end -I_1 = b_1*(l_1**3)/12 + A_1*((y_1-y_net)**2) //Parallel axis theorm +I_1 = b_1*(l_1**3)/12 + A_1*((y_1-y_net)**2) //Parallel axis theorem I_2 = b_2*(l_2**3)/12 + A_2*((y_2-y_net)**2) I_3 = b_2*(l_2**3)/12 + A_2*((y_2-y_net)**2) I_net = I_1 + I_2 + I_3 //in^4 - the total moment of inertia |