Change of variables example: Trigonometric functions