fixed a typo
to find the power exponent