[Math] How to calculate the exponent of a given number.

exponentiation

Here's my problem : I can't figure how to get back my exponent

Here the formula I use to get a given number :
$$a(\text{const}) = 200,\quad b(\text{const}) = 1.1,\quad c(\text{var}) = 50$$
So $c$ is the parameter I pass to my formula and that I want to get back.

$\left(a\left(b^c\right)\right)-a = \text{value}$

Using my values this formula give $23278.170575939063301333299198072$
I need to get the exponent I used to achieve this number.

So by logic I tried to do my formula backward.

$(\text{value}+a)/a$ But after this point I can't figure how to get back to my $c$ variable.

Best Answer

I'll write $v$ for value. We have $$ v = a(b^c)-a $$ as you wrote in your question. Then $$ v + a = a(b^c) $$ $$ \iff \frac{v+a}{a} = b^c $$ $$ \iff \log_b\left( \frac{v+a}{a} \right) = c $$ assuming, of course that $b>0$.

Related Question