I've got a random Rayleigh variable $\xi$ with $p_\xi(x)=\frac{x}{\sigma^2}\exp\{-\frac{x}{2\sigma^2}\},x\geq0$
There are two hypotheses: $H_0:\sigma=\sigma_0$ and $H_1:\sigma=\sigma_1$
I have built the procedure for Wald sequential analysis and now I have to find $P\{\text{deny } H_0\Bigr|\sigma=a\}=\frac{1-B^h}{A^h-B^h}$
Now I have to find h from the following equation:
$$\int\limits_0^{+\infty}\left (\frac{p_1(x)}{p_0(x)}\right)^hp(x;a)=1$$
There are given $\sigma_0=2.2$ and $\sigma_1=2.7$ in the task.
After I had simplified the integral, I got the following equation:
$$\left (\frac{22}{27}\right)^h=1-\frac{6125}{8809}ha^2$$, that I have to solve for $h$.
I think I must get W-Lambert function somehow but I have no ideas so far. I would appreciate any hints.
In general, the solution for $a^x=bx+c$ is: $$x = -\frac{c}{b}-W\left(\frac{-a^{-c/b}\log a}{b}\right)\log^{-1}a$$