Did pythagorean trigonometric identities.