diff options
Diffstat (limited to '3886/CH9/EX9.2/9_2.sce')
-rw-r--r-- | 3886/CH9/EX9.2/9_2.sce | 11 |
1 files changed, 11 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)
+
|