Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^2: Distribution of * new * Levels and Writeups

by 5mi11er (Deacon)
on Nov 03, 2005 at 19:58 UTC ( #505492=note: print w/ replies, xml ) Need Help??


in reply to Re: Distribution of * new * Levels and Writeups
in thread Distribution of * new * Levels and Writeups

Indeed. I hadn't thought to check the 1% issue, but the triangles (pyramids) should be "perfect" to add up to 100%

Total Blocks blocks in level 1 1 x 4 3 xxx 9 5 xxxxx 16 7 xxxxxxx 25 9 xxxxxxxxx 36 11 xxxxxxxxxxx 49 13 xxxxxxxxxxxxx 64 15 xxxxxxxxxxxxxxx 81 17 xxxxxxxxxxxxxxxxx 100 19 xxxxxxxxxxxxxxxxxxx

-Scott


Comment on Re^2: Distribution of * new * Levels and Writeups
Download Code
Re^3: Distribution of * new * Levels and Writeups
by Tanktalus (Canon) on Nov 03, 2005 at 20:11 UTC

    "Values may not add up to 100% due to rounding."

        That is why i left the pyramids uncompleted since this way the representation is true to the computed data . Thanks for the link it looks like good reading material on a not so simple (to me at least) subject .

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://505492]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (3)
As of 2014-08-31 01:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (294 votes), past polls