summaryrefslogtreecommitdiff
path: root/3862/CH4/EX4.21/Ex4_21.sce
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.21/Ex4_21.sce
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.21/Ex4_21.sce')
-rw-r--r--3862/CH4/EX4.21/Ex4_21.sce24
1 files changed, 24 insertions, 0 deletions
diff --git a/3862/CH4/EX4.21/Ex4_21.sce b/3862/CH4/EX4.21/Ex4_21.sce
new file mode 100644
index 000000000..202ef8b1e
--- /dev/null
+++ b/3862/CH4/EX4.21/Ex4_21.sce
@@ -0,0 +1,24 @@
+clear
+//
+
+//The rectangle is divided into four triangles
+//The lines AE and FC are parallel to x-axis
+
+//variable declaration
+
+theta=asin(4.0/5.0)
+
+AB=100.0
+BK=AB*sin((90*%pi/180)-theta)
+ND=BK
+FD=60.0/sin(theta)
+AF=150.0-FD
+AE=AB/cos((90*%pi/180)-theta)
+FC=AE
+A=125.0*60.0/2.0
+
+//Moment of inertia of the section about axis x-x=Sum of the momentsof inertia of individual triangular areasabout axis
+
+Ixx=(125*(60**3)/36)+(A*((ND*4.0/3.0)**2))+(125*(60**3)/36)+(A*((ND*2.0/3.0)**2))+(125*(60**3)/36)+(A*((ND*1.0/3.0)**2))+(125*(60**3)/36)+(A*((ND*1.0/3.0)**2))
+
+printf("\n Ixx= %0.0f mm^4",Ixx)