Trigonometric functions to a power (part 2)