Article View: bit.listserv.graph-ti
Article #62Re: Graph-TI - sinX and SQ ROOT
From: Peter Kolbus
Date: Thu, 08 Dec 1994 03:48
Date: Thu, 08 Dec 1994 03:48
74 lines
3925 bytes
3925 bytes
Well, it looks like you figured it out... For those who are still confused, here is a quote from the Guidebook, revision 1992, page 1-8. ...EOS (Equation Operating System) evaluates functions...in this order: * Functions entered after the argument (xรฝ, %, conversions, etc) * Powers and roots * Implied multiplication where the second argument is a number, any type of variable or constant, or begins with open parenthesis (4A, A B, (A+B)4, 4(A+B)) * Single-argument functions that precede the argument (negation, รป, sin, ln) * Implied multiplication where the second argument is a multiargument function or a single argument function that precedes the argument ( 2gcd(144,64), A sin 2) * Permutations and combinations * Multiplication and division * Addition and subtraction. An = in an expression, rather than an equation, is evaluated as -(. For example, A+B=C+1 is evaluated as A+B-(C+1). * Relational operators (==, >, etc) * Boolean operator /and/. * Boolean operators /or/ and /xor/. Within a priority group, EOS evaluates functions from left to right. However, two or more single-argument functions that precede the same argument are evaluated right to left. For example, sin fPart ln 8 is evaluated as sin(fPart(ln(8)). Calculations within a pair of parentheses are evaluated first. Multiargument functions (gcd(144,64) or der1(sin ANG,ANG,รฃ), etc) are evaluated as they are encountered. You can omit any right (close) parenthesis at the end of an expression. All "open" parenthetical elements are cloased automatically and preceding the store (/->/) or conversion instructions. I hope this clarifies the issue for anyone who was wondering. After all, misunderstandings regarding the system can cause a lot of confusion. +-----------------------------------------------------------------+ | Peter Kolbus | Quote for the day (week?) | | pkolbus@oeonline.com | 'Sex is hereditary. If your | | ae607@detroit.freenet.org | parents didn't have it, chances | | Prodigy: PNKD53B | are you won't either.' | | Voice: +1.810.474.0872 |-----------------------------------| | !BBS!: +1.810.474.6272 | What do I put here? I don't know. | +-----------------------------------------------------------------+ On Wed, 7 Dec 1994, Stuart Moskowitz wrote: > NO NO!! I used to say this too, but the 82 and 85 (not the 81) give implied > multiiplication with paraentheses higher priority than square roots and > other calculator defined functions. > > > I am having a problem evaluating expressions with sinX and > > > square roots. I get DIFFERENT answers for expressions like > > > sinXsq rt3, sinsq rt 3 X, sq rt 3 sin X, sq rt3(sinX), etc. > > > What is the rule? It is NOT OBVIOUS!
Technical Details
Message-ID:
<Pine.3.89.9412072213.A15990-0100000@oeonline.com>Path:
arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!howland.reston.ans.net!paladin.american.edu!auvm!oeonline.com!pkolbusShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: 104512,84bf5640f8855272
X-Google-Attributes: gid104512,public
X-Google-ArrivalTime: 1994-12-08 01:18:25 PST
Path: arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!howland.reston.ans.net!paladin.american.edu!auvm!oeonline.com!pkolbus
Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
Newsgroups: bit.listserv.graph-ti
Date: Wed, 7 Dec 1994 22:48:36 -500 (EST)
From: Peter Kolbus <pkolbus@oeonline.com>
Subject: Re: Graph-TI - sinX and SQ ROOT
cc: EDWARD L BURROWS <72762.3146@compuserve.com>,
"GRAPH-TI@lists.ppp.ti.com" <GRAPH-TI@ds0.internic.net>,
Stuart Moskowitz <smoskow@eis.calstate.edu>
In-Reply-To: <Pine.3.89.9412070816.C26553-0100000@eis.calstate.edu>
Message-ID: <Pine.3.89.9412072213.A15990-0100000@oeonline.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Content-Transfer-Encoding: QUOTED-PRINTABLE
Sender: owner-graph-ti@dsmail.internic.net
Precedence: bulk
Reply-To: Peter Kolbus <pkolbus@oeonline.com>
Lines: 73