Group Abstract Group Abstract

Message Boards Message Boards

0
|
31.4K Views
|
5 Replies
|
3 Total Likes
View groups...
Share
Share this post:

Degrees instead of radians

Posted 10 years ago

If I for instance change rectangular to polar coordinate it comes out like this:

ToPolarCoordinates[{15, 20}]
{25, ArcTan[4/3]}

Can anyone tell me how to get this in degrees? So far I've tried this, which is described in the documentation under "Radian" Convert[n Radian,newunits] converts n Radian to a form involving units newunits.:

Convert[ArcTan[4/3] Radian, Degree]
Convert[ArcTan[4/3], °]

Thanks!

POSTED BY: Benny Bomstærk
5 Replies
Posted 10 years ago
POSTED BY: Benny Bomstærk

I'm pretty sure this is not possible, in nearly all applications radians are a more 'natural' unit to use, rather than degrees. Though degrees are more natural for most humans, because it give you 'nice' numbers...

You could use two functions to simplify your work:

ToDeg[rad_] := N[rad/Degree]
FromDeg[deg_] := N[Degree deg]
POSTED BY: Sander Huisman
Posted 10 years ago
POSTED BY: Eric Rimbey
Posted 10 years ago
POSTED BY: Eric Rimbey

Hi,

this might work:

N[ArcTan[4/3]/Degree]

This

DMSList[N[ArcTan[4/3]/Degree]]

provides an alternative form.

Cheers,

Marco

POSTED BY: Marco Thiel
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard