The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 795 - File: showthread.php PHP 7.4.33 (FreeBSD)
File Line Function
/showthread.php 795 errorHandler->error





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 


Messages In This Thread
(50g) Regular Polygon: Internal Angle and Area - Eddie W. Shore - 04-10-2015 05:09 AM



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