just play with the sliders. black is the vector line, red is sine, blue is cosine, and green is just the hypoteneuse. download for the scripts. if you didn't know how to use trig, but you wanted to know, then this gives the answer.