Hatrack River
Home   |   About Orson Scott Card   |   News & Reviews   |   OSC Library   |   Forums   |   Contact   |   Links
Research Area   |   Writing Lessons   |   Writers Workshops   |   OSC at SVU   |   Calendar   |   Store
E-mail this page
Hatrack River Forum Post New Topic  Post A Reply
my profile login | register | search | faq | forum home

  next oldest topic   next newest topic
» Hatrack River Forum » Active Forums » Books, Films, Food and Culture » Simple algebra question for Minecraft

   
Author Topic: Simple algebra question for Minecraft
lem
Member
Member # 6914

 - posted      Profile for lem           Edit/Delete Post   Reply With Quote 
I am a lot more rusty on math then I thought. I want to make a pyramid in Minecraft that is 100x100 blocks for the base. So teh first level would be 400 blocks.
I will step in 1 and up one and the next level will have 98x98 blocks. And that pattern will repeat.

So. Level 1 = 100 blocks / side
level 2 - 98 block
level 3 = 96 blocks
etc...


Can anyone make a math equation I can use to see how many blocks I need? I am making sandstone blocks on a friends server and want to surprise them one night by building a pyramid.

Posts: 2445 | Registered: Oct 2004  |  IP: Logged | Report this post to a Moderator
Papa Moose
Member
Member # 1992

 - posted      Profile for Papa Moose           Edit/Delete Post   Reply With Quote 
If the base of the pyramid is 100x100, then you need 10,000 blocks for the bottom level, not 400, don't you? (I don't do Minecraft, so if what you're saying makes sense there, I'm not sure how the concept differs, but I know it does.)

Assuming you do mean you need every block of the pyramid, I'm pretty sure the formula will be 2n(n+1)(2n+1)/3, where n is the number of levels (in this case, 50). So you need 100*51*101/3, or 171,700.

I'm rusty, so if someone wants to check my math that'd be great.

Posts: 6205 | Registered: May 2001  |  IP: Logged | Report this post to a Moderator
lem
Member
Member # 6914

 - posted      Profile for lem           Edit/Delete Post   Reply With Quote 
Actually, in Minecraft you only need to make the shell. So it would be 100/side for the first level, 98 / side for the second level, 96 /side for the fourth level, etc.
Posts: 2445 | Registered: Oct 2004  |  IP: Logged | Report this post to a Moderator
Papa Moose
Member
Member # 1992

 - posted      Profile for Papa Moose           Edit/Delete Post   Reply With Quote 
But the corner pieces are the same, so it's actually 396 for the bottom then? And in that case, you could just collapse the thing into a 100x100 square, so 10,000 blocks? Or do you need a double-thick wall so the next layer up has something to sit atop, which would make it 100x100 + 98x98, or 19,604?
Posts: 6205 | Registered: May 2001  |  IP: Logged | Report this post to a Moderator
Samprimary
Member
Member # 8561

 - posted      Profile for Samprimary   Email Samprimary         Edit/Delete Post   Reply With Quote 
The next layer up can essentially be floating in air from the one underneath it, but typically you spend an additional link block of some material to create a bridge up to the next level.

Also, this is minecraft, so no precise quantity plan will survive contact with the enemy and you'll have to bring a few extra stacks anyway, especially when creepers are about.

Posts: 14233 | Registered: Aug 2005  |  IP: Logged | Report this post to a Moderator
Papa Moose
Member
Member # 1992

 - posted      Profile for Papa Moose           Edit/Delete Post   Reply With Quote 
I don't know what most of that meant, but it sounds like it's 10K plus links and extras. Whatever those are.
Posts: 6205 | Registered: May 2001  |  IP: Logged | Report this post to a Moderator
lem
Member
Member # 6914

 - posted      Profile for lem           Edit/Delete Post   Reply With Quote 
This is going to be tough. I have 10 stacks of 64 sandstone. I just need another 147 stacks and I can come pretty close to finishing the shell.

Well, my family is in Japan for the next 6 weeks. I think I can do it.

Posts: 2445 | Registered: Oct 2004  |  IP: Logged | Report this post to a Moderator
Szymon
Member
Member # 7103

 - posted      Profile for Szymon   Email Szymon         Edit/Delete Post   Reply With Quote 
If I aren't much mistaken you need 2x2550 + 2x2352 = 9804.
Let's even forget about the mining of sandstone, you'll need like almost 3h to do that, provided you place one block/sec.
Maybe there's a program that simplifies things like that in minecraft, so you can do large constructions giving only it's dimensions and material it's gotta be composed of or sth.

Posts: 662 | Registered: Dec 2004  |  IP: Logged | Report this post to a Moderator
Sean Monahan
Member
Member # 9334

 - posted      Profile for Sean Monahan   Email Sean Monahan         Edit/Delete Post   Reply With Quote 
PM is correct, It would be exactly 10,000 if you don't have a single one on the top, since the penultimate level would be 4x4, the top one 2x2, and then 0x0. If you want a single one on the top, it would be 10,001.

edit: Szymon: it looks like you did a gauss sum for 50 and 48, but it should be for 50 and 49. Taking into account shared corners, two sides start at 100, which would be gauss sum 50 * 2, two sides start at 98, which would be gauss sum 49 * 2.

Posts: 981 | Registered: Apr 2006  |  IP: Logged | Report this post to a Moderator
Szymon
Member
Member # 7103

 - posted      Profile for Szymon   Email Szymon         Edit/Delete Post   Reply With Quote 
Really? I thought you need:
2x{[(2+100)/2]x50} + 2x{(2+98)/2]x49}

because: you got two opposite sides of 100+98...+2 which is the 50th level and the two other sides which start with 98 on the ground and finish one level short from the top cause it's already ready.

How can there be a single one on top if it has even number of blocks in a side? It'd be unsymmetrical.

Posts: 662 | Registered: Dec 2004  |  IP: Logged | Report this post to a Moderator
Szymon
Member
Member # 7103

 - posted      Profile for Szymon   Email Szymon         Edit/Delete Post   Reply With Quote 
Yeah, I guess you're probably right. I sucked at math [Smile] And I still do!
Posts: 662 | Registered: Dec 2004  |  IP: Logged | Report this post to a Moderator
Sean Monahan
Member
Member # 9334

 - posted      Profile for Sean Monahan   Email Sean Monahan         Edit/Delete Post   Reply With Quote 
Well, I'm not great at math either. I cheated. (After doing the gauss sum, I actually counted them in a spreadsheet) *blush*

I was just thinking about the single one on top if he wanted to make the point more "pointy".

Posts: 981 | Registered: Apr 2006  |  IP: Logged | Report this post to a Moderator
Szymon
Member
Member # 7103

 - posted      Profile for Szymon   Email Szymon         Edit/Delete Post   Reply With Quote 
Yeah, and I checked again and I just added wrongly. Mine is also 10 000 [Wink]
Posts: 662 | Registered: Dec 2004  |  IP: Logged | Report this post to a Moderator
Dan_Frank
Member
Member # 8488

 - posted      Profile for Dan_Frank   Email Dan_Frank         Edit/Delete Post   Reply With Quote 
Sean: Syzmon's question about the single block on top only makes sense if you've played Minecraft. The world is made up of blocks, and you can't overlap. By that I mean you can't place a block that is, say, half over one block and half over another.

So if the top of his pyramid is 2x2, then there are only 4 distinct places you can put a block, and none of those will make it look more like a pyramid. There's no way to put one "on top," sadly.

Posts: 3580 | Registered: Aug 2005  |  IP: Logged | Report this post to a Moderator
Papa Moose
Member
Member # 1992

 - posted      Profile for Papa Moose           Edit/Delete Post   Reply With Quote 
You could start with either 99 or 101 across the bottom layer, though (requiring 9801 or 10201 blocks respectively).
Posts: 6205 | Registered: May 2001  |  IP: Logged | Report this post to a Moderator
Sean Monahan
Member
Member # 9334

 - posted      Profile for Sean Monahan   Email Sean Monahan         Edit/Delete Post   Reply With Quote 
Ah, thanks for clearing up, Dan. I have not played Minecraft.
Posts: 981 | Registered: Apr 2006  |  IP: Logged | Report this post to a Moderator
Dan_Frank
Member
Member # 8488

 - posted      Profile for Dan_Frank   Email Dan_Frank         Edit/Delete Post   Reply With Quote 
quote:
Originally posted by Papa Moose:
You could start with either 99 or 101 across the bottom layer, though (requiring 9801 or 10201 blocks respectively).

Yeah, that's exactly right.

Sean: I figured. [Smile]

Posts: 3580 | Registered: Aug 2005  |  IP: Logged | Report this post to a Moderator
lem
Member
Member # 6914

 - posted      Profile for lem           Edit/Delete Post   Reply With Quote 
Ohh, that is a good idea about the 99 or 101. So what does the finale equation look like? BTW...Hatrack rocks--particularly you all with higher skills then me.
Posts: 2445 | Registered: Oct 2004  |  IP: Logged | Report this post to a Moderator
lem
Member
Member # 6914

 - posted      Profile for lem           Edit/Delete Post   Reply With Quote 
quote:
Let's even forget about the mining of sandstone, you'll need like almost 3h to do that, provided you place one block/sec.
That is why it is going to be so epic! Everyone will log on to our server after i stayed up all night to build the thing and be totally wowed.

I crossed an ocean and found a huge desert to mine sand and sandstone. I set up a portal and will use a minecart in the Nether to transport goods between my portal and their portal once I have everything--maybe in 2 weeks or so. When I am ready I will pull an all-nighter and build it outside of their town.

Right now I got five friends on a local server building an awesome town, but overnight I will have a huge sandstone pyramid in middle of their forest, view-able from any place in town.

My family is out of the country for 6 more weeks. My work is kinda slow. I am getting into podcasts. This project is the perfect thing to work on as I listen to NPR.

Posts: 2445 | Registered: Oct 2004  |  IP: Logged | Report this post to a Moderator
Sean Monahan
Member
Member # 9334

 - posted      Profile for Sean Monahan   Email Sean Monahan         Edit/Delete Post   Reply With Quote 
The final equation, it turns out, is pretty simple; it's just the length of the bottom edge squared. 100 x 100 = 10,000.

I realized this when I counted them in the spreadsheet, starting with 1, then 2, then 3, etc.

Posts: 981 | Registered: Apr 2006  |  IP: Logged | Report this post to a Moderator
C3PO the Dragon Slayer
Member
Member # 10416

 - posted      Profile for C3PO the Dragon Slayer           Edit/Delete Post   Reply With Quote 
quote:
Originally posted by lem:
quote:
Let's even forget about the mining of sandstone, you'll need like almost 3h to do that, provided you place one block/sec.
That is why it is going to be so epic! Everyone will log on to our server after i stayed up all night to build the thing and be totally wowed.

I crossed an ocean and found a huge desert to mine sand and sandstone. I set up a portal and will use a minecart in the Nether to transport goods between my portal and their portal once I have everything--maybe in 2 weeks or so. When I am ready I will pull an all-nighter and build it outside of their town.

Right now I got five friends on a local server building an awesome town, but overnight I will have a huge sandstone pyramid in middle of their forest, view-able from any place in town.

My family is out of the country for 6 more weeks. My work is kinda slow. I am getting into podcasts. This project is the perfect thing to work on as I listen to NPR.

Do they allow using the sand generator glitch on your server? My brother built one on my server and we have more sand than we'll ever need.
Posts: 1020 | Registered: Apr 2007  |  IP: Logged | Report this post to a Moderator
Szymon
Member
Member # 7103

 - posted      Profile for Szymon   Email Szymon         Edit/Delete Post   Reply With Quote 
BTW, is your name "iem" or 'lem'? I always wondered [Wink]
Posts: 662 | Registered: Dec 2004  |  IP: Logged | Report this post to a Moderator
lem
Member
Member # 6914

 - posted      Profile for lem           Edit/Delete Post   Reply With Quote 
quote:
Do they allow using the sand generator glitch on your server?
I don't know. I know it is a non-cheating server, and the friend is pretty adamant that nothing special is enabled. No flying. No mods. Nothing.

I did find a huge desert and think I may get up to half the sand, maybe all of it.

[Edit] Lem. I Forgot to capitalize my nick when I created it..

Posts: 2445 | Registered: Oct 2004  |  IP: Logged | Report this post to a Moderator
Szymon
Member
Member # 7103

 - posted      Profile for Szymon   Email Szymon         Edit/Delete Post   Reply With Quote 
Is it Lem for Lunar Exp Module or the writer [Wink] ?
Posts: 662 | Registered: Dec 2004  |  IP: Logged | Report this post to a Moderator
Samprimary
Member
Member # 8561

 - posted      Profile for Samprimary   Email Samprimary         Edit/Delete Post   Reply With Quote 
they patched the sand generator glitch out a long time ago anyway.
Posts: 14233 | Registered: Aug 2005  |  IP: Logged | Report this post to a Moderator
C3PO the Dragon Slayer
Member
Member # 10416

 - posted      Profile for C3PO the Dragon Slayer           Edit/Delete Post   Reply With Quote 
quote:
Originally posted by Samprimary:
they patched the sand generator glitch out a long time ago anyway.

Not the one we're using.
Posts: 1020 | Registered: Apr 2007  |  IP: Logged | Report this post to a Moderator
   

Quick Reply
Message:

HTML is not enabled.
UBB Code™ is enabled.
UBB Code™ Images not permitted.
Instant Graemlins
   


Post New Topic  Post A Reply Close Topic   Feature Topic   Move Topic   Delete Topic next oldest topic   next newest topic
 - Printer-friendly view of this topic
Hop To:


Contact Us | Hatrack River Home Page

Copyright © 2008 Hatrack River Enterprises Inc. All rights reserved.
Reproduction in whole or in part without permission is prohibited.


Powered by Infopop Corporation
UBB.classic™ 6.7.2