summaryrefslogtreecommitdiff
path: root/3862/CH4/EX4.18
diff options
context:
space:
mode:
authorprashantsinalkar2018-02-03 11:01:52 +0530
committerprashantsinalkar2018-02-03 11:01:52 +0530
commit7bc77cb1ed33745c720952c92b3b2747c5cbf2df (patch)
tree449d555969bfd7befe906877abab098c6e63a0e8 /3862/CH4/EX4.18
parentd1e070fe2d77c8e7f6ba4b0c57b1b42e26349059 (diff)
downloadScilab-TBC-Uploads-master.tar.gz
Scilab-TBC-Uploads-master.tar.bz2
Scilab-TBC-Uploads-master.zip
Added new codeHEADmaster
Diffstat (limited to '3862/CH4/EX4.18')
-rw-r--r--3862/CH4/EX4.18/Ex4_18.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/3862/CH4/EX4.18/Ex4_18.sce b/3862/CH4/EX4.18/Ex4_18.sce
new file mode 100644
index 000000000..a9d56d4cd
--- /dev/null
+++ b/3862/CH4/EX4.18/Ex4_18.sce
@@ -0,0 +1,15 @@
+clear
+//In this problem, it is required to find out the moment of inertia of the section about an axis AB. So there is no need to find out the position of the centroid.
+//The given section is split up into simple rectangles
+//Moment of inertia about AB = Sum of moments of inertia of the rectangle about AB
+
+//variable declaration
+
+A1=400*20.0
+A2=100*10
+A3=10*380.0
+A4=100*10.0
+
+IAB=(400.0*(20**3)/12)+(A1*(10**2))+((100*(10**3)/12)+(A2*(25**2)))*2+((10*(380**3)/12)+(A3*(220**2)))*2+((100*(10**3)/12)+(A4*(415**2)))*2
+
+printf("\n IAB= %0.0f mm^4",IAB)