Get Help

Turn on suggestions

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

- Community
- :
- PTC Mathcad
- :
- PTC Mathcad
- :
- Iregular polygon-area

Options

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

Highlighted

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

04-29-2014
12:22 PM

04-29-2014
12:22 PM

Hi,

How can I determine the area and center of mass of a polygon knowing the coordinates of its points? the lenght of the segment 01 and the angle between lines 05 and 45?

Thank you,

Gabriel

Solved! Go to Solution.

1 ACCEPTED SOLUTION

Accepted Solutions

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

05-01-2014
08:20 PM

05-01-2014
08:20 PM

For whatever it may be worth, here is a much more compact version of the intersect() routine. One of those "why didn't I thought of that before" things.

33 REPLIES 33

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

04-29-2014
12:55 PM

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

04-29-2014
01:01 PM

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

04-29-2014
01:20 PM

04-29-2014
01:20 PM

Re: Iregular polygon-area

May I join the session?

Here is a third way 😉

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

04-29-2014
01:33 PM

04-29-2014
01:33 PM

Re: Iregular polygon-area

Well done Werner. Fred and I both forgot about the CofG part!

Alan

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

04-29-2014
03:15 PM

04-29-2014
03:15 PM

Re: Iregular polygon-area

Well done Werner. Fred and I both forgot about the CofG part!

Looks like we all forgot about the second question

the lenght of the segment 01 and the angle between lines 05 and 45?

but I am not quite sure about this question, especially as the first part seems too trivial.

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

04-30-2014
02:31 AM

04-30-2014
02:31 AM

Re: Iregular polygon-area

Thank you gentlemen,

I'm not a regular matchad user, but whenever I search on this forum I see solutions from some of you guys. Thank you for sharing your experiece with us!

Werner, the angle was part of a second questions. It will follow. Now I have to run to a meeting.

regards,

Gabriel

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

04-30-2014
11:18 AM

04-30-2014
11:18 AM

Re: Iregular polygon-area

I tried, without any success, to extend the solutions proposed so that I can account for the variability of the angle alfa. I inserted an explanatory figure at the end of the worksheet. If alfa is 0 line 05 is horizontal. The top limit of alfa is defined by joining points 4 and 5. I would like to define alfa as a incremental variable within these limits. Line 45 has fixed slope (beta angle).

The idea is to make point 5 run on the 45 line and consequently generate values of the area and center of gravity for a fixed increment of alfa.

E.g. if alfa ranges between 0 and 10 deg, I would like to calculate for each degree of alfa the area and center of mass.

Thank you for all your good input.

Greetings,

Gabriel

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

04-30-2014
12:59 PM

04-30-2014
12:59 PM

Re: Iregular polygon-area

With thanks to Werner for doing the hard work:

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

04-30-2014
02:20 PM

04-30-2014
02:20 PM

Re: Iregular polygon-area

Its not fully clear from your description - do you want the line 45 run through the point (L/0) or do you want that the angle 054 at the variable point 5 to be a given value beta?

I guess its the first scenario and L should be the sum of L1 to L4 (divided by x.scale) and the angle at point 5 will vary.

In the second case point 5 would move on a circle and L.4 would be obsolete, so I guess this is not what you are supposed to do.

Top Tags