6.06 rewriting trigonometric functions