I have been on this for 2 days.
I have the following equation
B-N*E = Sum N, i=1 (P1-E/i^a) sorry for the poor formatting.
I know:
- B = 10000
- N = 50
- E = 15
- P1 = 3000
So:
9250 = Sum N, i=1 (2985/i^a)
The tutorial I am reading states: We can efficiently solve this equation for α to additive error less than .01 via binary search.
But I am not sure how I do a binary search for the power constant...
I hope you're working with a computer, or some sort of technology.
You want to bracket the value of $a$ within some interval. For instance $a=0$ causes the sum to be too large, while $a=2$ causes the sum to be too small. So the correct value of $a$ lies between $0$ and $2$. You now bisect this interval (checking what happens if $a=1$). You will then replace your interval where $a$ lies with an interval half as large (either $[0,1]$ or $[1,2]$. You keep doing this until you get an interval that gives you the desired accuracy for $a$.
This method is also called the bisection method.