Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!thunder.mcrcim.mcgill.edu!snorkelwacker.mit.edu!usc!jarthur!nntp-server.caltech.edu!fonda.ipac.caltech.edu!tim From: tim@fonda.ipac.caltech.edu (Tim Conrow) Newsgroups: comp.sys.handhelds Subject: Re: Simple query Message-ID: <1991Feb26.030641.17394@nntp-server.caltech.edu> Date: 26 Feb 91 03:06:41 GMT References: <27c891d2:2189comp.sys.handhelds@hpcvbbs.UUCP> <27c949d9:2189.1comp.sys.handhelds;1@hpcvbbs.UUCP> <1991Feb25.212015.5103@nntp-server.caltech.edu> <1991Feb26.021553.18228@news.iastate.edu> Sender: news@nntp-server.caltech.edu Organization: California Institute of Technology Lines: 36 Nntp-Posting-Host: fonda.ipac.caltech.edu In article <1991Feb26.021553.18228@news.iastate.edu> tnan0@CCVAX.IASTATE.EDU writes: > You asked about evaluating INT(0,Y,A,X) where A is an algebraic. >I set 'A' = 'SIN(COS(T))' for a test... /\ make this X >I typed: 'INT(0,Y,A,X)' >then I proceeded to hit EVAL several times. After two EVALS, I got: >'A*Y' which is what you kept getting. However, one more EVAL yielded >'SIN(COS(T))*Y' which, I believe, is what you wanted... Almost, but not quite. >If there's more to the story, please let me know... A little more yes ... see below. >---Xeno >P.S. We finally got NEWS on our VAX system, so I can access USENET more >directly now... Let's see how this works... ~~~~~~~~~~ It works fine. In my query, I actually meant something else. In your example modify 'A' to be 'SIN(COS(X))'. Then 'A' must be integrated (which in this example, it couldn't be, except numerically). By fiddling around I finally figured out that the 'SHOW' command is what I want. In the above case one would put the integral on level 2 and the algebraic 'X' in level 1 then execute 'SHOW'. 'A' will then expand into its constituent equation. Fine. I am a little confused, however, as to why one cannot recall the stored value of 'A' into the integral. When I type the integral as far as 'INT(0,Y,)' and then try to recall 'A', I get an invalide syntax error. Oh well; at least it can be done w/o too much pain. -- Tim tim@ipac.caltech.edu