What's wrong with my arc tangens calculation?

Chris Angelico rosuav at gmail.com
Fri Sep 14 06:54:15 EDT 2012


On Fri, Sep 14, 2012 at 8:49 PM, xliiv <tymoteusz.jankowski at gmail.com> wrote:
> I do some math with python:
>
> import math as m
> m.degrees(m.atan(2))
>>>> 63.43494882292201
>
> but when i lookup tg in a paper table (last decade math book) i've got these values:
>
> tg(63'10'') = 1.9768
> tg(63'20'') = 1.9912
> tg(63'30'') = 2.0057
>
> For me python should return something more like 63'2x'' than 63'4x''(becasue 63'30'' is higher than 2.0)

According to Google:
.43494882292201 degrees = 26.0969294 arcminutes

So I would say that your table and Python are in agreement. Do you
know what the notation 63'30" means?

ChrisA



More information about the Python-list mailing list