Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #29164

Re: What's wrong with my arc tangens calculation?

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!newsfeed5.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.004
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'width': 0.07; 'python': 0.09; 'lookup': 0.09; 'notation': 0.09; 'python:': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'sep': 0.09; '(last': 0.16; 'length,': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'values:': 0.16; 'wrote:': 0.17; 'math': 0.20; 'import': 0.21; 'somebody': 0.23; "i've": 0.23; 'header:In-Reply-To:1': 0.25; 'header:User-Agent:1': 0.26; 'header:X-Complaints-To:1': 0.28; 'chris': 0.28; 'fri,': 0.30; 'from:addr:yahoo.co.uk': 0.32; 'to:addr:python-list': 0.33; 'pm,': 0.35; 'table': 0.35; 'subject:?': 0.35; 'something': 0.35; 'received:org': 0.36; 'but': 0.36; 'subject:with': 0.36; 'should': 0.36; 'subject:: ': 0.38; 'mark': 0.38; 'some': 0.38; 'to:addr:python.org': 0.39; 'header:Received:5': 0.40; 'your': 0.60; 'skip:6 10': 0.63; 'more': 0.63; 'paper': 0.78; 'agreement.': 0.91; 'received:2': 0.91; 'feet': 0.96
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Mark Lawrence <breamoreboy@yahoo.co.uk>
Subject Re: What's wrong with my arc tangens calculation?
Date Fri, 14 Sep 2012 14:13:07 +0100
References <ba77717e-d812-4132-b477-cc3a79c41476@googlegroups.com> <CAPTjJmo6vAxGzXxAyUE0AZ_WD6biFW4nqgUzAk19n+ZOK8doow@mail.gmail.com>
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
X-Gmane-NNTP-Posting-Host host-2-98-205-16.as13285.net
User-Agent Mozilla/5.0 (Windows NT 6.0; rv:15.0) Gecko/20120907 Thunderbird/15.0.1
In-Reply-To <CAPTjJmo6vAxGzXxAyUE0AZ_WD6biFW4nqgUzAk19n+ZOK8doow@mail.gmail.com>
X-Antivirus avast! (VPS 120914-0, 14/09/2012), Outbound message
X-Antivirus-Status Clean
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.701.1347628381.27098.python-list@python.org> (permalink)
Lines 32
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1347628381 news.xs4all.nl 6868 [2001:888:2000:d::a6]:56022
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:29164

Show key headers only | View raw


On 14/09/2012 11:54, Chris Angelico wrote:
> On Fri, Sep 14, 2012 at 8:49 PM, xliiv <tymoteusz.jankowski@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
>

Somebody or something has a length, height or width of 63 feet 30 inches? :)

-- 
Cheers.

Mark Lawrence.

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

What's wrong with my arc tangens calculation? xliiv <tymoteusz.jankowski@gmail.com> - 2012-09-14 03:49 -0700
  Re: What's wrong with my arc tangens calculation? Chris Angelico <rosuav@gmail.com> - 2012-09-14 20:54 +1000
  Re: What's wrong with my arc tangens calculation? Laszlo Nagy <gandalf@shopzeus.com> - 2012-09-14 12:54 +0200
    Re: What's wrong with my arc tangens calculation? xliiv <tymoteusz.jankowski@gmail.com> - 2012-09-14 04:18 -0700
    Re: What's wrong with my arc tangens calculation? xliiv <tymoteusz.jankowski@gmail.com> - 2012-09-14 04:18 -0700
  Re: What's wrong with my arc tangens calculation? Mark Lawrence <breamoreboy@yahoo.co.uk> - 2012-09-14 14:13 +0100
  Re: What's wrong with my arc tangens calculation? Chris Angelico <rosuav@gmail.com> - 2012-09-14 23:17 +1000

csiph-web