Android Calculator App: Convert Rectangular-Polar

  • Thread starter Thread starter idahoblaster
  • Start date Start date
  • Tags Tags
    Polar Rectangular
Click For Summary
An Android calculator app is needed for converting between rectangular and polar coordinates, specifically with functions for converting to and from rectangular (x, y) and polar (r, a) forms. The essential calculations involve using the formulas r = sqrt(x^2 + y^2) and a = arctan(y/x) for converting from rectangular to polar, and x = r*cos(a) and y = r*sin(a) for the reverse conversion. The discussion emphasizes the importance of having an app that simplifies these calculations for users.
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)
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 11 ·
Replies
11
Views
4K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
10
Views
6K
Replies
22
Views
3K
  • · Replies 15 ·
Replies
15
Views
4K
Replies
3
Views
1K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
7
Views
2K