Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #29153
| Newsgroups | comp.lang.python |
|---|---|
| Date | 2012-09-14 04:18 -0700 |
| References | <ba77717e-d812-4132-b477-cc3a79c41476@googlegroups.com> <mailman.694.1347620106.27098.python-list@python.org> |
| Message-ID | <95bea1d5-ccbd-4987-9b64-6555075a3c1b@googlegroups.com> (permalink) |
| Subject | Re: What's wrong with my arc tangens calculation? |
| From | xliiv <tymoteusz.jankowski@gmail.com> |
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.
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