Post Reply 
(50g) Regular Polygon: Internal Angle and Area
04-10-2015, 05:09 AM (This post was last modified: 06-15-2017 01:33 PM by Gene.)
Post: #1
(50g) Regular Polygon: Internal Angle and Area
Regular Polygon: Internal Angle and Area: RPOLYG

Link to the original blog entry: http://edspi31415.blogspot.com/2015/03/r...s-and.html

Input:
2: s: side length
1: n: number of sides


Program:
<< DEG DUP INV 360 * NEG 180 + UNROT 4 / SWAP SQ * SWAP DUP UNROT 2 / TAN * >>

Output:
2: Interior Angle
1: Area
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 




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