Post Reply 
(48) Shoelace Method For Determining A Polygon's Area
07-14-2018, 09:39 AM
Post: #2
RE: (48) Shoelace Method For Determining A Polygon's Area
This program works as well for the HP-48:

Code:
\<<
  DUP HEAD +
  2 \<< CROSS \>> DOSUBS
  \GSLIST ABS 2 /
\>>

However the pair of coordinates are expected in a list.

Example:
{
[ 2 5 ]
[ 7 10 ]
[ 12 20 ]
[ 8 12 ]
[ 4 3 ]
}


Area = 10.5
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: (48) Shoelace Method For Determining A Polygon's Area - Thomas Klemm - 07-14-2018 09:39 AM



User(s) browsing this thread: 3 Guest(s)