summaryrefslogtreecommitdiff
path: root/3886/CH9/EX9.2
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.2
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.2')
-rw-r--r--3886/CH9/EX9.2/9_2.sce11
-rw-r--r--3886/CH9/EX9.2/9_2.txt5
2 files changed, 16 insertions, 0 deletions
diff --git a/3886/CH9/EX9.2/9_2.sce b/3886/CH9/EX9.2/9_2.sce
new file mode 100644
index 000000000..9f5a5dd70
--- /dev/null
+++ b/3886/CH9/EX9.2/9_2.sce
@@ -0,0 +1,11 @@
+//Centroid of angle
+//refer fig. 9.11
+//the given figure can be divided into two rectangles
+A1=150*12 //mm^2
+A2=(200-12)*12 //mm^2
+//total area
+A=A1+A2 //mm^2
+xbar=(1800*75+2256*6)/(4056) //mm
+ybar=(1800*6+2256*106)/(4056) //mm
+printf("The centroid is at \nxbar=%.2f mm\nybar=%.2f mm ",xbar,ybar)
+
diff --git a/3886/CH9/EX9.2/9_2.txt b/3886/CH9/EX9.2/9_2.txt
new file mode 100644
index 000000000..e16ddcce8
--- /dev/null
+++ b/3886/CH9/EX9.2/9_2.txt
@@ -0,0 +1,5 @@
+
+--> exec('E:\My program EM\9. Centroid and moment of inertia\9.2.sce', -1)
+The centroid is at
+xbar=36.62 mm
+ybar=61.62 mm \ No newline at end of file