From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,9fe315ab08ea9576 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!news1.google.com!postnews.google.com!w19g2000yqb.googlegroups.com!not-for-mail From: Ada novice Newsgroups: comp.lang.ada Subject: Re: Arctan: to use with single or with double arguments? Date: Sun, 26 Sep 2010 01:21:20 -0700 (PDT) Organization: http://groups.google.com Message-ID: <5e6045ca-535b-4c91-ba5c-8c6d8b184ab5@w19g2000yqb.googlegroups.com> References: <908e7aea-ed77-4dce-9f5d-e6341abc1303@s19g2000vbr.googlegroups.com> <53a2a6fa-9d48-4486-b5c7-aea81a026a82@x18g2000pro.googlegroups.com> NNTP-Posting-Host: 193.11.22.91 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1285489280 26575 127.0.0.1 (26 Sep 2010 08:21:20 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Sun, 26 Sep 2010 08:21:20 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: w19g2000yqb.googlegroups.com; posting-host=193.11.22.91; posting-account=Rr9I-QoAAACS-nOzpA-mGxtAlZ46Nb6I User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.10) Gecko/20100914 Firefox/3.6.10 (.NET CLR 3.5.30729),gzip(gfe) Xref: g2news1.google.com comp.lang.ada:14265 Date: 2010-09-26T01:21:20-07:00 List-Id: On Sep 26, 6:02=A0am, jpwoodruff wrote: > So my suggestion is to use two-parameter arctan, and interpret the > quadrant of the result, and thus the sign of the sine, in the physical > sense. =A0If there is no mistake, your differential operator works even > outside the particular domain where you are solving your problem. > > Best wishes > John Thanks. Yes it makes sense that I stick to the two-parameter arctan. I'm working with a rotating system and quadrant information is important. It's amazing to see how different software treats the order of the two-parameter arctan differently. If I'm right C is like Ada but in MathCad, the order of the arguments is reversed.