geometry lesson that shows use of sine and cosine