Give the formula in calculating power