Bitcoin Forum
June 14, 2024, 04:21:16 PM *
News: Voting for pizza day contest
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: [Solved] This math doesnt add up for difficulty calculating...  (Read 964 times)
MoreBloodWine (OP)
Legendary
*
Offline Offline

Activity: 1050
Merit: 1001


View Profile
December 28, 2013, 04:00:32 PM
Last edit: December 28, 2013, 04:28:09 PM by MoreBloodWine
 #1

Current: 1,180,923,195
Next (Estimate): 1,345,007,299 (+14%)
Increase by: 164,084,104

Taken from: http://www.bitcoindifficulty.com/


If the increase estimate was truly 14% it (the increase by) should be around 165,329,247

Mind you when it (next est) was about 60k less, it still showed 14%... I was wondering if anyone might be able to help figure out what the math used that gets them their % increase figure. Best I can tell is they use two diff bits of code that are slightly out of sync with eachoher hence the percentage not being quite right.

This is what I came up with as suggested math after a yahoo search but it's not even anywhere close ;-/

current / next est * 100 = 87.80%


To be decided...
Rannasha
Hero Member
*****
Offline Offline

Activity: 728
Merit: 500


View Profile
December 28, 2013, 04:14:51 PM
 #2

Current: 1,180,923,195
Next (Estimate): 1,345,007,299 (+14%)
Increase by: 164,084,104

Taken from: http://www.bitcoindifficulty.com/


If the increase estimate was truly 14% it (the increase by) should be around 165,329,247

Mind you when it (next est) was about 60k less, it still showed 14%... I was wondering if anyone might be able to help figure out what the math used that gets them their % increase figure. Best I can tell is they use two diff bits of code that are slightly out of sync with eachoher hence the percentage not being quite right.

This is what I came up with as suggested math after a yahoo search but it's not even anywhere close ;-/

current / next est * 100 = 87.80%

The 14% value you mention is rounded. A more precise estimate of the percentage-increase using the numbers you provided is 13.89%, which indeed rounds to 14%.

Since difficulty-estimates are typically rather inaccurage, specifying more than 2 significant digits in the percentage-increase is not necessary.
MoreBloodWine (OP)
Legendary
*
Offline Offline

Activity: 1050
Merit: 1001


View Profile
December 28, 2013, 04:17:07 PM
 #3

Current: 1,180,923,195
Next (Estimate): 1,345,007,299 (+14%)
Increase by: 164,084,104

Taken from: http://www.bitcoindifficulty.com/


If the increase estimate was truly 14% it (the increase by) should be around 165,329,247

Mind you when it (next est) was about 60k less, it still showed 14%... I was wondering if anyone might be able to help figure out what the math used that gets them their % increase figure. Best I can tell is they use two diff bits of code that are slightly out of sync with eachoher hence the percentage not being quite right.

This is what I came up with as suggested math after a yahoo search but it's not even anywhere close ;-/

current / next est * 100 = 87.80%

The 14% value you mention is rounded. A more precise estimate of the percentage-increase using the numbers you provided is 13.89%, which indeed rounds to 14%.

Since difficulty-estimates are typically rather inaccurage, specifying more than 2 significant digits in the percentage-increase is not necessary.
But my question is whats the math used to ge the 14%, I know it's probably staring me right in he face but I'm not seeing it. I'm working on something for one of my sites but the math to get the percentage is eluding me.

To be decided...
DeathAndTaxes
Donator
Legendary
*
Offline Offline

Activity: 1218
Merit: 1079


Gerald Davis


View Profile
December 28, 2013, 04:18:18 PM
 #4

% increase = (next_est - current) / current * 100.

As pointed out it is rounded, it is an estimate, even 14% has a significant margin of error putting extra digits is just noise.


For the record the % increase of anything = (new - old) / old * 100






MoreBloodWine (OP)
Legendary
*
Offline Offline

Activity: 1050
Merit: 1001


View Profile
December 28, 2013, 04:27:57 PM
 #5

% increase = (next_est - current) / current * 100.

As pointed out it is rounded, it is an estimate, even 14% has a significant margin of error putting extra digits is just noise.


For the record the % increase of anything = (new - old) / old * 100

Ty, knew it had to be something simple in the calculations.

Working fine on my site now.

To be decided...
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!