Post Reply 
Little math problems July 2019
08-07-2019, 01:46 PM
Post: #10
RE: Little math problems July 2019
Diagonal case, even sizes assuming that all squares bordering the 4 center squares are considered to be a distance of 1 or √2 from the center:

Code:

\<< \-> n
  \<< 0 n 
    FOR x 0 n 
      FOR y x SQ y SQ + \v/
      NEXT
    NEXT n 1 + SQ \->LIST \GSLIST EVAL 8 * EVAL
  \>>
\>>

4: '16+8*√2' ~27.313
6: '48+24*√2+16*√5' ~117.72

...etc. Expressions are the same as for size n-1 except for the additive term being doubled.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Little math problems July 2019 - pier4r - 07-28-2019, 07:28 PM
RE: Little math problems July 2019 - John Keith - 08-07-2019 01:46 PM



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