Android Calculator App: Convert Rectangular-Polar

1 reply · 2K views · last reply
idahoblaster
Messages
1
Reaction score
0
I need an android calculator app that will convert between rectangular and polar. I need these keys: ->R and ->P
 
Why do you need an app?

If you have (x,y), to get (r,a) just do:
r = sqrt(x^2 + y^2)
a = arctan(y/x)

If you are in (r,a), to get to (x,y), just do:
x = r*cos(a)
y = r*sin(a)