Android Calculator App: Convert Rectangular-Polar

  • Thread starter Thread starter idahoblaster
  • Start date Start date
  • Tags Tags
    Polar Rectangular
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
1 reply · 2K views
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
 
Physics news on Phys.org
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)