I've broken a somewhat complex calculation down to the following mathematical equation to be solved:
$a^x + b^x = c$
How do I find $x$ when $a, b$ and $c$ are given as parameters?
I.e., if $a=3$, $b=4$ and $c=25$, then the solution is $x=2$.
(The question has nothing to do with geometry - this is just the simplest example I can come up with.)
Background
For specifying a person's overweight/underweight, the term Z-score is used and the Z-score is calculated based on the person's BMI, sex and age. For each sex and age interval, the constants $\lambda$, $\mu$ and $\sigma$ are given.
I have the formula $Z = \frac{(\frac{B}{ \mu})^\lambda -1}{\lambda\sigma}$, where $B$ is the person's BMI, for calculating the Z-score. Also, I have a set of $B$-values for a specific age and sex, for $Z \in \{-2, -1, 0, 1, 2\}$. For $Z=n$, let's call the $B$ data set $B_n$.
My task is, based on the above knowledge, to calculate $\mu$, $\sigma$ and $\lambda$ for a specific sex and age, so I can calculate the Z-score for a specific BMI, based on sex and age.
It is obvious that $\mu = B_0$. Moreover, using the Z-formula on $B_1$, I get $\sigma = \frac{(\frac{B_1}{B_0})^\lambda -1}{\lambda}$.
Using the Z-formula on $B_1$ and $B_{-1}$, I get $(\frac{B_{-1}}{B_0})^\lambda + (\frac{B_{1}}{B_0})^\lambda = 2$.
So, pretty simple, I just need to find how to isolate $x$ in the equation $a^x + b^x = c$...

