HP-50g CAS question
#1

If you start with all alphanumeric variables empty, I noticed that other CAS based calculators can be made to display their internal equations for trig functions. Does anyone know how to make the HP-50g do the same thing?

I asked this question a while back, and one response was to use the "trig" function. I read the manual, and I tried the trig function in every permutation I could think of. Obviously someone much smarter than me will need to explain the individual keystrokes, and any necessary mode settings.

Anyway, as an example, using a Casio ClassPad, on the main screen you can type cExpand(sin(a+ib)) where "i" is the square root of negative one. The ClassPad responds with cosh(b)sin(a)+i*sinh(b)cos(a).

The TI-89 is simpler. You don't need to use any special wrapper function like cExpand(). You just type sin(a+ib) and hit enter. The response is sin(a)cosh(b)+cos(a)sinh(b)i.

The same thing is true for the gray TI-nSpire. The nSpire seems to have the easiest interface for such work, because it has a dedicated "i" button, along with a dedicated "a" button and "b" button. You just type the expression, and hit enter without pressing any special shift, alt, alpha, or control keys.

I dearly hate the way the nSpire has been lobotomized to prevent programming anything with graphics, and I believe TI could easily make more money by correcting this marketing mistake, at least in the CAS version of the machine. Ugh. I should probably restrain myself ranting about that on a tangent.

I like the display clarity of the HP-50g better. Yes, even with fewer pixels. The display is easier to read, and the machine's interface it is easier to use for many common operations that make up the mainstay of daily work. I would just like to understand the 50g machine's CAS system better.

Bill

#2

[TRIG] [NXT] [TEXPAN] and go back using [TCOLL]

#3

That was helpful. Thanks. I had my HP-50g set to use vertically scrolling menus, so I had to access the texpand() function by using slightly different keystrokes. Using texpand shows that the HP-50g uses this internal equation:

sin(a+ib) = cos(ib)sin(a)+ sin(ib)cos(a)

This statement is true, technically, but we are still forced to do a bit of algebra so that we can get an expression for the real part that would be distinct from the imaginary part of the answer.

I am even more interested in knowing what equation the HP-50g would use internally for this expression:

ln(a+ib)

This is not a trig function, so we cannot use texpand.

The other three CAS based machines all respond with

ln(a^2+b^2)/2

for the real part of the answer, and

(signum(b)*pi/2 - arctan(a/b)) * i

for the imaginary part.

Perhaps for the HP-50g there is some function other than texpand that we can use in order to make the machine provide a symbolic result in this case with the ln() function?

I am not interested in functions beyond this one, just mostly curious to see whether the HP-50g also uses a hard coded pi constant as a part of its internal equation for complex logarithms.

Bill

#4

Try
[LS][EXP&LN][TSIMP]

#5

The tsimp function produced a real mystery, or rather, an imaginary mystery.

The result was ln(a^2+b^2)/2 for the real part, so far so good.

I had (atan(b/a)+ 0 * pi/2)i for the imaginary result.

I wonder why the machine would just insert a zero into the expression for the imaginary part like that, instead of displaying some variation of a signum function.

Oh well. At least now we have a clue. It looks as if the machine probably uses the same internal equations as the other three CAS systems, but it does not seem quite as easy to display the general forms of the equations.

I would be curious to see whether some arcane incantation with mode settings might cause the machine to display the result without the zero inserted. I have complex mode turned on. The zero appears in the imaginary part of the result in approx mode, and when not in approx mode.

Thanks,

Bill



Possibly Related Threads…
Thread Author Replies Views Last Post
  HP Prime: CAS taylor Alberto Candel 5 3,875 12-13-2013, 09:45 PM
Last Post: Alberto Candel
  HP Prime CAS curiosity bluesun08 11 4,710 12-10-2013, 01:03 PM
Last Post: Han
  HP-48GX & 50G Question Matt Agajanian 2 1,824 12-08-2013, 10:17 PM
Last Post: Matt Agajanian
  [HP-Prime CAS] "Warning, ^ (Command) Is ambiguous on non square matrices"?? CompSystems 1 2,141 12-07-2013, 07:15 PM
Last Post: CompSystems
  HP Prime: complex numbers in CAS. Alberto Candel 1 1,856 12-06-2013, 02:36 PM
Last Post: parisse
  HP Prime: Proper Use of Home View and CAS View James Williams 9 4,168 12-05-2013, 02:44 PM
Last Post: James Williams
  [HP Prime] plotfunc() bug in CAS Chris Pem10 2 2,362 12-04-2013, 02:46 PM
Last Post: Chris Pem10
  HP Prime: Home/CAS? Alasdair McAndrew 11 3,780 11-26-2013, 02:48 PM
Last Post: Alberto Candel
  HP Prime numerical precision in CAS and HOME Javier Goizueta 5 2,354 11-16-2013, 03:51 AM
Last Post: Paul Dale
  HP 50g - question about matrices arrays vectors etc. Sean Freeman 6 2,450 11-14-2013, 01:44 PM
Last Post: peacecalc

Forum Jump: