title: Graphing trigonometric functions in degrees in Android
body: <p>I have a graphing calculator app that can graph basic trig functions like sin and cos, and the user can specify if he wants it in radians or degrees. My question is how do I perform tangent, cotangent, etc functions in degrees? I know I'd have to use Math.cos() and Math.sin() in combination somehow in a formula but then how would I convert it to degrees? Thanks for the help.</p>