Dec 272017
Develop area, centroid, and moments for any polygon.
File MOMENT.ZIP from The Programmer’s Corner in
Category Science and Education
Develop area, centroid, and moments for any polygon.
File Name File Size Zip Size Zip Type
CIRCLE 245 122 deflated
IBEAM 768 388 deflated
MOMENT.EXE 48258 28189 deflated
MOMENT.FOR 3569 1432 deflated
README 1024 419 deflated
SQUARE 128 96 deflated
TRIANGLE 128 103 deflated

Download File MOMENT.ZIP Here

Contents of the README file

Gentle User,

MOMENT will compute the area, centroid, moments, etc. for any odd shape
that you can describe with a series of points. To run MOMENT, you need
to create an ASCII data file with the points (X,Y) of your polygonal
region (up to 100 points max). Then enter

MOMEMT myfile

I have supplied a few examples that you can try as indicated below

MOMENT triangle
MOMENT square
MOMEMT circle

I have also enclosed the FORTRAN source code so you can see how it is
done. I hope you enjoy using MOMENT.

Dudley J. Benton
TVA Engineering Lab
P.O. Drawer E
Norris, TN 37828

 December 27, 2017  Add comments

 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>