How do you convert a rectangular coordinate to a polar coordinate when x=0?
well theta will be zero right? and r will be y
What was confusing me is that to find thetha you do Arctan(y/x), but when x=0 that is undefined
fair enough, that definition fails for x=0,
maybe you should have a tiny look at this wikipedia page for atan2 if you want to 'compute' the angle every time, http://en.wikipedia.org/wiki/Atan2 {... the section with atan2(y,x) = {... {...
it might be more intuitive to draw a picture
thank you!
|dw:1391703485477:dw|
so it just ends up being r=1.5 theta=0? (1.5,0)
sorry, I realized I didn't actually put the question the rectangular coordinate was (0,1.5)
ops, i meant to say theta will be 90° for when x=0 |dw:1391703754893:dw|
Join our real-time social learning platform and learn together with your friends!