HP 50g, degree mode, complex polar numbers w/ negative angle



#2

If I try to get the (Re, Im) format of:

exp(-22.6*i)

I get (-.843, .539). Isn't this blatantly wrong? Just think about it. The Re coordinate must be positive, and the Im negative. Note the calc is in degree mode. Am I missing something? This is pissing me off to no avail.


#3

Quote:
If I try to get the (Re, Im) format of:

exp(-22.6*i)

I get (-.843, .539). Isn't this blatantly wrong?


Paul --

It's wrong, alright.

Quote:
Just think about it. The Re coordinate must be positive, and the Im negative. Note the calc is in degree mode. Am I missing something?

Hmm, polar and degree mode. Maybe you meant,

1.00 / -22.6 degrees?

That converts to 0.92321 - i*0.38430 in rectangular mode.

However, you specified a complex number in rectangular form. I cannot obtain your result for antilogarithm. I don't have an HP-50g, but I do have practically every other HP calculator with built-in complex-number support. Every one I've tried yields the same answer, in degree or radians mode:

e^(-i*22.6) ~= -0.82031 + i*0.57193

I even evaluated your expression as an algebraic expression on the HP-49g and HP-48G, and got the same answer.

By Euler's Theorem,


eix = (cos x) + i*(sin x) [x in radians]

Degrees mode will be ignored by the HP models for complex-number calculations, because exponential (natural antilogarithm) requires a physically dimensionless input.

-- KS


Edited: 21 Oct 2008, 1:59 a.m.


#4

My 50g functions correctly
check your input, please
The explanation given by Karl is correct

#5

On a TI (Voyage 200) you can simply type e^(-22.6°*i) and get the intended result.

On the HP however, EXP(-22.6_°*i) cannot be evaluated; it's displayed as

e-(22.6*1_°*i)

but EVAL or ->NUM fail with the message "Bad Argument Type". You can use the D->R function instead:

EXP(D->R(-22.6)*i)

works as intended and returns (0.9232,-0.3843) if you press ->NUM.


#6

Whoops - forgot that (strictly speaking) Euler takes the angle to be in radians. You can't blame me when I'm surrounded by people typing exp(-22.6*i) in ti calcs, and when my electromagnetics textbook always gives polar-form complex numbers in degrees. Thanks for the help.

#7

This was actually the post that let me to understand the problem at hand - and to give the solution as well :-)


Possibly Related Threads...
Thread Author Replies Views Last Post
  HP Prime: complex numbers in CAS. Alberto Candel 1 237 12-06-2013, 02:36 PM
Last Post: parisse
  [HP Prime] Plots containing complex numbers bug? Chris Pem10 7 461 12-05-2013, 07:40 AM
Last Post: cyrille de Brébisson
  Integration question and "RPN" mode comment Craig Thomas 16 908 12-05-2013, 02:32 AM
Last Post: Nick_S
  HP 35s polar/rectangular conversion CD Dodds 6 336 11-28-2013, 02:39 PM
Last Post: Dieter
  Complex Number Entry on Prime Jeff O. 19 888 11-16-2013, 12:34 PM
Last Post: Jeff O.
  HP Prime: Recommendation for future RPN Program Mode BruceTTT 3 267 11-13-2013, 10:03 PM
Last Post: BruceTTT
  Rectangular to Polar, Polar to Rectangular – One more time Jeff O. 0 158 11-06-2013, 11:32 AM
Last Post: Jeff O.
  More programs for polar-rectangular conversion on HP Prime Michael de Estrada 4 292 11-04-2013, 12:43 AM
Last Post: Michael de Estrada
  Program to change entry mode on Prime Michael de Estrada 3 276 10-28-2013, 10:13 AM
Last Post: Han
  Prime: Exam mode (possible duplicate after funny response first time) Paul Townsend (UK) 1 191 10-24-2013, 03:09 PM
Last Post: Tim Wessman

Forum Jump: