summaryrefslogtreecommitdiff
path: root/3886/CH9/EX9.1/9_1.sce
diff options
context:
space:
mode:
Diffstat (limited to '3886/CH9/EX9.1/9_1.sce')
-rw-r--r--3886/CH9/EX9.1/9_1.sce6
1 files changed, 6 insertions, 0 deletions
diff --git a/3886/CH9/EX9.1/9_1.sce b/3886/CH9/EX9.1/9_1.sce
new file mode 100644
index 000000000..81138e071
--- /dev/null
+++ b/3886/CH9/EX9.1/9_1.sce
@@ -0,0 +1,6 @@
+//Locating the centroid of T section
+//Refer fig. 9.10
+//due to symmetry the centroid lies on y axis
+//distance of centroid from top is
+ybar=(100*20*10+20*100*70)/(100*20+20*100)
+printf("Centroid of T-section is on the symmetric axis at a distance of %.2f mm from the top",ybar)