Android Calculator App: Convert Rectangular-Polar

  • Thread starter Thread starter idahoblaster
  • Start date Start date
  • Tags Tags
    Polar Rectangular
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
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)