Formula

 BBS: Inland Empire Archive
Date: 04-08-93 (11:03)             Number: 389
From: QUINN TYLER JACKSON          Refer#: NONE
  To: EARL MONTGOMERY               Recvd: NO  
Subj: Formula                        Conf: (2) Quik_Bas
EM>Earl's Law <smile>
EM>Total Blocks=Level * Level value
EM>Level         Level value
EM>1             1
EM>2             1.5
EM>3             2
EM>4             2.5
EM>5             3

[some deleted]

It would seem that this could be expressed without the table, as a
function of x:

f(x) = x(x/2 + 0.5)

or, in BASIC terms:

Blocks = Level * (Level/2 + 0.5)

Quinn

 * OLX 2.1 TD * Rhyme of the Ancient Mariner: "I almost died at C!"

--- Maximus/2 2.01wb
 * Origin: The Nibble's Roost, New Westminster BC 604-526-7686 (1:153/918)
Outer Court
Echo Basic Postings

Books at Amazon:

Back to BASIC: The History, Corruption, and Future of the Language

Hackers: Heroes of the Computer Revolution (including Tiny BASIC)

Go to: The Story of the Math Majors, Bridge Players, Engineers, Chess Wizards, Scientists and Iconoclasts who were the Hero Programmers of the Software Revolution

The Advent of the Algorithm: The Idea that Rules the World

Moths in the Machine: The Power and Perils of Programming

Mastering Visual Basic .NET