Producing symbolic derivative on 48G



#6

I have a question about how to force the 48G to produce a symbolic derivative. Say I type in an expression like x/y, then y, and hit the derivative button. If there are no variables for x and y, the result is a symbolic solution, i.e -x/y^2, which is what I want. However if there are variables for either x or y the numeric values will be inserted into the resulting expression. I am looking for a way to keep the symbolic result without using the derivative menu.

By contrast on the 50G the result seems to be always be symbolic.

Thanks in advance for any help.


#7

you can turn off the flag to automatically evaluate expressions. e.g clear flag (-3). See Appendix D in the User manual.


#8

I did try setting and clearing flags -1 to -3 and -59 (the ones that looked like they might have some affect), but they do not seem to change the result: when evaluating the derivative on the 48G, the result will use the numeric values of stored variables.

Likewise on the 50G these flags seem to have no affect: the result is symbolic.

#9

Change into a different sub-directory which doesn't have those variables set?


#10

This sort of works as long as I can switch to another directory that does not have the variable in it, or above it since the calculator searches the current directory, and the directories above it for the variable.

To include a bit more of the situation, the problem arose in a program I wrote for the 50G for propagation of errors. Actually everything works great on the 50G. Since the program was in user RPL I copied it over to a 48G and it seemed to work ok until I noticed some strange results, which turned out to be the problem at hand. There are some basic ways to work around the problem, such as being really careful about what variables are stored in the various directories, but I am looking for a bit cleaner solution that does not depend on the state of the calculator.


Possibly Related Threads...
Thread Author Replies Views Last Post
  HP PRIME: derivative at a point Alasdair McAndrew 2 156 11-19-2013, 06:52 AM
Last Post: parisse
  HP Prime suggestion to avoid Numeric/Symbolic confusion Chris Pem10 4 248 11-19-2013, 05:49 AM
Last Post: bluesun08
  [HP-Prime] AMBIGUITY between Numerical Calculation (HOME) and Numerical/Symbolic Calculation (CAS mode) CompSystems 2 176 08-18-2013, 07:06 PM
Last Post: CompSystems
  Symbolic limit of a function of 2 variables, HP49/50 Gilles Carpentier 0 97 08-26-2012, 10:28 AM
Last Post: Gilles Carpentier
  WP34S derivative and solver reset Alessandro Castellani (Italy) 6 294 03-29-2012, 02:15 PM
Last Post: Dominic Richens
  WP34S Symbolic preprocessor online Neil Hamilton (Ottawa) 8 366 08-14-2011, 11:45 AM
Last Post: Neil Hamilton (Ottawa)
  Polynomial Derivative and Integral for the HP 35S Eddie W. Shore 0 97 05-24-2011, 10:29 PM
Last Post: Eddie W. Shore
  Symbolic Integration, Continued Austin W. 6 240 04-20-2011, 12:17 PM
Last Post: Austin W.
  Symbolic Complex Linear System Solver (HP-28S, HP-48G/GX and HP-50g) Gerson W. Barbosa 0 80 03-13-2011, 03:10 PM
Last Post: Gerson W. Barbosa
  Symbolic math with the 35s (well.. sort of) Dieter 4 181 08-28-2010, 01:35 AM
Last Post: Karl Schneider

Forum Jump: