### Area of a section

Posted:

**Fri Nov 26, 2010 7:01 am**What is the best way to find the area of an entire section? I know you can use and figure out what values of x you need to avoid double-counting and iterate over all the x values, summing the areas of each segment, but I was wondering if there was some more elegant way to do this, something along the lines of
Thanks in advance.

Code: Select all

`h.area(x,sec=sectionname)`

Code: Select all

`area=sectionname.area`