![]() |
|
Arts & Entertainment Give meaning to your life or distract you from it for a while |
![]() |
|
Thread Tools | Display Modes |
|
![]() |
#1 |
™
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 |
![]() |
![]() |
![]() |
#2 | |
Only looks like a disaster tourist
Join Date: Feb 2007
Location: above 7,000 feet
Posts: 7,208
|
Quote:
(2^(n-1) * 2)-1 = (2^n) -1 (2^32) -1 = 4294967295 (cents) $42,949,672.95, which agrees with your results. |
|
![]() |
![]() |
![]() |
#3 |
™
Join Date: Jul 2003
Location: Arlington, VA
Posts: 27,717
|
Edit: I made a typo.
$42,949,672.95 |
![]() |
![]() |
![]() |
#4 |
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 ![]() |
![]() |
![]() |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|