Path: csiph.com!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.014 X-Spam-Evidence: '*H*': 0.97; '*S*': 0.00; 'python': 0.09; 'friday,': 0.09; 'lookup': 0.09; 'to:addr:comp.lang.python': 0.09; 'cc:addr :python-list': 0.10; '(last': 0.16; '30"': 0.16; 'values:': 0.16; 'wrote:': 0.17; 'thanks,': 0.18; 'math': 0.20; 'cc:2**0': 0.23; '(you': 0.23; 'minutes.': 0.23; "python's": 0.23; "i've": 0.23; 'cc:no real name:2**0': 0.24; 'cc:addr:python.org': 0.25; 'header :In-Reply-To:1': 0.25; 'header:User-Agent:1': 0.26; 'all.': 0.28; 'arc': 0.29; 'function': 0.30; 'received:google.com': 0.34; 'wrong': 0.34; 'table': 0.35; 'subject:?': 0.35; 'received:209.85': 0.35; 'something': 0.35; 'but': 0.36; 'subject:with': 0.36; 'should': 0.36; 'received:209': 0.37; 'subject:: ': 0.38; 'nothing': 0.38; 'skip:6 10': 0.63; 'more': 0.63; 'paper': 0.78; '(according': 0.84; 'nagy': 0.84 Newsgroups: comp.lang.python Date: Fri, 14 Sep 2012 04:18:33 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=87.205.25.132; posting-account=SsjJvwoAAAAbGEB6oRibqD8UwTelug2W References: User-Agent: G2/1.0 X-Google-Web-Client: true X-Google-IP: 87.205.25.132 MIME-Version: 1.0 Subject: Re: What's wrong with my arc tangens calculation? From: xliiv To: comp.lang.python@googlegroups.com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: python-list@python.org X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Message-ID: Lines: 30 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1347621517 news.xs4all.nl 6933 [2001:888:2000:d::a6]:39685 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:29154 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: >=20 > > >=20 > > tg(63'10'') =3D 1.9768 >=20 > > tg(63'20'') =3D 1.9912 >=20 > > tg(63'30'') =3D 2.0057 >=20 > > >=20 > > For me python should return something more like 63'2x'' than 63'4x''(be= casue 63'30'' is higher than 2.0) >=20 > > >=20 > > what's wrong? >=20 > > >=20 > 63=EF=BF=BD 30" is 63.5=EF=BF=BD. So nothing is wrong. (You know, 1=EF=BF= =BD =3D 60 arc second!) So the wrong part is me ;) The python's 63.43494882292201 is degrees (according to function math.degre= es) but book's value is in minutes. Clearified Thanks, all.