So I have the equation https://puu.sh/uosqs/d90b94c2f5.png
$\sum_{i=0}^{h}m^i=v$ and I need to solve for $h$. How do I rearrange this equation so that it is in the form $h$ = something?
So I have the equation https://puu.sh/uosqs/d90b94c2f5.png
$\sum_{i=0}^{h}m^i=v$ and I need to solve for $h$. How do I rearrange this equation so that it is in the form $h$ = something?
You can't rearrange summations to solve for their bounds, but you can solve the summations themselves. What you have is a geometric series, which means
$$\frac{m^{h+1}-1}{m-1}=\sum_{i=0}^hm^i=v$$
Thus,
$$m^{h+1}-1=v(m-1)\\m^{h+1}=v(m-1)+1\\h+1=\log_m[v(m-1)+1]$$
$$h=\log_m[v(m-1)+1]-1$$