The Cellar  

Go Back   The Cellar > Main > Arts & Entertainment
FAQ Community Calendar Today's Posts Search

Arts & Entertainment Give meaning to your life or distract you from it for a while

Reply
 
Thread Tools Display Modes
Old 12-29-2011, 10:31 AM   #1
glatt
 
Join Date: Jul 2003
Location: Arlington, VA
Posts: 27,717
Don't forget that you have to add up the price for all the individual nails. So your calculation is correct for finding the price of the final nail. I don't remember if there is a formula for doing a sum of numerous equations. There must be, and I just can't remember it.

When I break out my calculator and do a tedious 3 minutes of punching numbers in, I get a total of $42,949,652.95
glatt is offline   Reply With Quote
Old 12-29-2011, 10:37 AM   #2
HungLikeJesus
Only looks like a disaster tourist
 
Join Date: Feb 2007
Location: above 7,000 feet
Posts: 7,208
Quote:
Originally Posted by glatt View Post
Don't forget that you have to add each nail together. So your calculation is correct for finding the price of the final nail. I don't remember if there is a formula for doing a sum of numerous equations. There must be, and I just can't remember it.

When I break out my calculator and do a tedious 3 minutes of punching numbers in, I get a total of $42,949,652.95
Good point. I think the easy way to do it would be to double the cost of the last and subtract one.

(2^(n-1) * 2)-1 = (2^n) -1
(2^32) -1 = 4294967295 (cents)
$42,949,672.95, which agrees with your results.
__________________
Keep Your Bodies Off My Lawn

SteveDallas's Random Thread Picker.
HungLikeJesus is offline   Reply With Quote
Old 12-29-2011, 10:38 AM   #3
glatt
 
Join Date: Jul 2003
Location: Arlington, VA
Posts: 27,717
Edit: I made a typo.

$42,949,672.95
glatt is offline   Reply With Quote
Old 12-29-2011, 11:02 AM   #4
Lamplighter
Person who doesn't update the user title
 
Join Date: Jun 2010
Location: Bottom lands of the Missoula floods
Posts: 6,402
Glatt, a heroic calculation !

But the answer depends on your assumption about "first nail"
1st leg: 1st nail = $0.01 ... 6 nails per shoe = $0.63
2nd leg: 1st nail = $0.01 ... 6 nails per shoe = $0.63
3rd leg: 1st nail = $0.01 ... 6 nails per shoe = $0.63
4th leg: 1st nail = $0.01 ... 6 nails per shoe = $0.63

Total: $2.52
Time to calculate: 15 seconds
Lamplighter is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -5. The time now is 08:03 AM.


Powered by: vBulletin Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.