Author

Topic: [Solved] This math doesnt add up for difficulty calculating... (Read 980 times)

legendary
Activity: 1064
Merit: 1001
% 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.
donator
Activity: 1218
Merit: 1079
Gerald Davis
% 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






legendary
Activity: 1064
Merit: 1001
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.
hero member
Activity: 728
Merit: 500
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.
legendary
Activity: 1064
Merit: 1001
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%

Jump to: