summaryrefslogtreecommitdiff
path: root/3886/CH9/EX9.10/9_10.sce
diff options
context:
space:
mode:
authorprashantsinalkar2018-02-03 11:01:52 +0530
committerprashantsinalkar2018-02-03 11:01:52 +0530
commit7bc77cb1ed33745c720952c92b3b2747c5cbf2df (patch)
tree449d555969bfd7befe906877abab098c6e63a0e8 /3886/CH9/EX9.10/9_10.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 '3886/CH9/EX9.10/9_10.sce')
-rw-r--r--3886/CH9/EX9.10/9_10.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/3886/CH9/EX9.10/9_10.sce b/3886/CH9/EX9.10/9_10.sce
new file mode 100644
index 000000000..af8e232a5
--- /dev/null
+++ b/3886/CH9/EX9.10/9_10.sce
@@ -0,0 +1,13 @@
+//Moment of inertia of L-section
+//Divide the section into two rectangles A1 and A2
+A1=125*10 //mm^2
+A2=75*10 //mm^2
+A=A1+A2 //mm^2
+xbar=((1250*5)+750*(10+75/2))/A //mm
+ybar=((1250*125/2)+(750*5))/A //mm
+Ixx=((10*125^3)/12)+(1250*21.56^2)+((75/12)*10^3)+(750*39.94^2) //mm^4
+Iyy=((125*10^3)/12)+(1250*15.94^2)+((10*75^3)/12)+(750*26.56^2) //mm^4
+Izz=Ixx+Iyy //mm^4
+printf("\nIxx=%.2f mm^4\nIyy=%.2f mm^4\nIzz=%.2f mm^4",Ixx,Iyy,Izz)
+
+