On Friday, September 14, 2012 12:55:06 PM UTC+2, Laszlo Nagy wrote: > > 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) > > > > > > what's wrong? > > > > > 63� 30" is 63.5�. So nothing is wrong. (You know, 1� = 60 arc second!)
So the wrong part is me ;) The python's 63.43494882292201 is degrees (according to function math.degrees) but book's value is in minutes. Clearified Thanks, all. -- http://mail.python.org/mailman/listinfo/python-list