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: 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 Subject: Re: What's wrong with my arc tangens calculation? Date: Fri, 14 Sep 2012 14:13:07 +0100 References: 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: 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: 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 On 14/09/2012 11:54, Chris Angelico wrote: > On Fri, Sep 14, 2012 at 8:49 PM, xliiv 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.