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.3/Ex6_3.sce | |
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.3/Ex6_3.sce')
-rw-r--r-- | 3776/CH6/EX6.3/Ex6_3.sce | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/3776/CH6/EX6.3/Ex6_3.sce b/3776/CH6/EX6.3/Ex6_3.sce index 857811d33..19291d887 100644 --- a/3776/CH6/EX6.3/Ex6_3.sce +++ b/3776/CH6/EX6.3/Ex6_3.sce @@ -1,18 +1,18 @@ clear -//Given -//Entire area - hallow area +//Given +//Entire area - hollow area l_e = 60.0 //mm - length of the entire area b_e = 40 //mm - width of the entire area -l_h = 30 //mm - length of the hallow area -b_h = 20 //mm - width of the hallow area -A_e = l_e*b_e //mm2 - The entire area -A_h = -l_h*b_h //mm2 - The hallow area '-' because its hallow -A_re = A_e + A_h //mm2 resultant area -y_e = l_e/2 // mm com from bottom -y_h = 20+l_h/2 //mm com from bottom -y_com = (A_e*y_e + A_h*y_h)/A_re +l_h = 30 //mm - length of the hollow area +b_h = 20 //mm - width of the hollow area +A_e = l_e*b_e //sq.mm - The entire area +A_h = -l_h*b_h //sq.mm - The hollow area +A_re = A_e + A_h //sq.mm resultant area +y_e = l_e/2 // mm com from bottom +y_h = 20+l_h/2 //mm com from bottom +y_com = (A_e*y_e + A_h*y_h)/A_re //moment of inertia caliculatins - bh3/12 +ad2 -I_e = b_e*(l_e**3)/12 + A_e*((y_e-y_com)**2) //Parallel axis theorm -I_h = b_h*(l_h**3)/12 - A_h*((y_h-y_com)**2) //Parallel axis theorm +I_e = b_e*(l_e**3)/12 + A_e*((y_e-y_com)**2) //Parallel axis theorem +I_h = b_h*(l_h**3)/12 - A_h*((y_h-y_com)**2) //Parallel axis theorem I_total = I_e - I_h printf("\n The moment of inertia of total system is %e mm^4",I_total) |