Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #29164
| From | Mark Lawrence <breamoreboy@yahoo.co.uk> |
|---|---|
| Subject | Re: What's wrong with my arc tangens calculation? |
| Date | 2012-09-14 14:13 +0100 |
| References | <ba77717e-d812-4132-b477-cc3a79c41476@googlegroups.com> <CAPTjJmo6vAxGzXxAyUE0AZ_WD6biFW4nqgUzAk19n+ZOK8doow@mail.gmail.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.701.1347628381.27098.python-list@python.org> (permalink) |
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 | Next — Previous in thread | Next in thread | Find similar | Unroll 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