diff options
Diffstat (limited to '3886/CH9/EX9.8')
-rw-r--r-- | 3886/CH9/EX9.8/9_8.sce | 25 | ||||
-rw-r--r-- | 3886/CH9/EX9.8/9_8.txt | 3 |
2 files changed, 28 insertions, 0 deletions
diff --git a/3886/CH9/EX9.8/9_8.sce b/3886/CH9/EX9.8/9_8.sce new file mode 100644 index 000000000..f8406efd5 --- /dev/null +++ b/3886/CH9/EX9.8/9_8.sce @@ -0,0 +1,25 @@ +//Locate centroid
+//refer fig.9.17
+x=40 //mm
+A1=168*x^2
+A2=12*x^2
+A3=-16*x^2
+A4=-8*%pi*x^2
+A5=-4*%pi*x^2
+x1=7*x
+x2=16*x
+x3=2*x
+x4=6*x
+x5=12.3023*x
+y1=6*x
+y2=4*x/3
+y3=10*x
+y4=(16*x/(3*%pi))
+y5=10.3023*x
+A=126.3009*x^2
+sumAixi=1030.6083*x^3
+sumAiyi=691.8708*x^3
+xbar=1030.6083*x/126.3009 //mm
+ybar=691.8708*x/126.3009 //mm
+printf("centroid is at (%.2f, %.2f)",xbar,ybar)
+
diff --git a/3886/CH9/EX9.8/9_8.txt b/3886/CH9/EX9.8/9_8.txt new file mode 100644 index 000000000..b795417e5 --- /dev/null +++ b/3886/CH9/EX9.8/9_8.txt @@ -0,0 +1,3 @@ +
+--> exec('E:\My program EM\9. Centroid and moment of inertia\9.8.sce', -1)
+centroid is at (326.40, 219.12)
\ No newline at end of file |