cancel

### Note on archived topics.

This topic has been archived. Information and links in this thread may no longer be available or relevant.
If you have a question create a new topic by clicking here and select the appropriate board.
Highlighted
Associate Professor
971 948 118 180
Message 1 of 11
1,521
Flag Post
HP Recommended

# HP 39gII BUG: complex numbers and powers

Thr following:

(0.02+0.01*i)^3  results in:

1.14486680448E−11+6.29676742464E−11*i

.000002+.000011*i

the correct answer can be obtained by entering (0.02+0.01*i)*(0.02+0.01*i)*(0.02+0.01*i).

Firmware version: 30/Oct/2013 Rev: 19148

I found this while using the calculator at work. I had put it aside due to previous frustrations, but this past week I decided to use it again - and very soon I run into a problem.

This calculator has been for sale for almost two years. The last update was more than 6 months ago. It still has serious bugs. Is this becoming the forgotten brother of the Prime?

Whenever I complain about the 39gii, I get reminded that other HP calulators e.g. 48GX also had bugs, but these have never affected me in daily work!

Unfortunately I am losing my faith in the current development team.

-Bart
_________________________________________________________
calculator enthusiast
Tags (3)
10 REPLIES 10
Tutor
11 8 0 0
Message 2 of 11
1,453
Flag Post
HP Recommended

## HP 39gII BUG: complex numbers and powers

Even weirder :

(0.02+0.01i)^1 = 0.0003577708764+0.0001788854382i

the ^ must be doing something other than raising to a power....

Associate Professor
971 948 118 180
Message 3 of 11
1,438
Flag Post
HP Recommended

## HP 39gII BUG: complex numbers and powers

Further to this:

Using the x² function gives correct answer, using ^2 "to power of 2" gives erroneous answer.

Also when using larger numbers correct answers result, e.g.:

(2.15+1.25*i)^3  results in correct answer of −.13975+15.38125*i

-Bart
_________________________________________________________
calculator enthusiast
Tutor
11 8 0 0
Message 4 of 11
1,426
Flag Post
HP Recommended

## HP 39gII BUG: complex numbers and powers

It looks to me to be the case that as long as one of |a| or |b| is greater than 1 (not equal) in a+bi you'll get the correct answer when raising it to a power.The closer to zero the maximum of a and b is, the bigger the error!.

Associate Professor
971 948 118 180
Message 5 of 11
1,412
Flag Post
HP Recommended

## HP 39gII BUG: complex numbers and powers

Mmmm-- wrote:

It looks to me to be the case that as long as one of |a| or |b| is greater than 1 (not equal) in a+bi you'll get the correct answer when raising it to a power.The closer to zero the maximum of a and b is, the bigger the error!.

Unfortunately the numbers I use are not limited to the "good" range.

-Bart
_________________________________________________________
calculator enthusiast
Tutor
11 8 0 0
Message 6 of 11
1,394
Flag Post
HP Recommended

## HP 39gII BUG: complex numbers and powers

(2+i)^3/100^3 works, (just to get the a>1).

But really that is just ridiculous!

Associate Professor
971 948 118 180
Message 7 of 11
994
Flag Post
HP Recommended

## HP 39gII BUG: complex numbers and powers

So, more than a year after posting this and still no update in sight!

Apparently it is a faulty implementation of LN for complex arguments.

Indeed try:

LN(0.01+0.01i)

Bah humbug.

-Bart
_________________________________________________________
calculator enthusiast
Distinguished Professor
3,671 3,396 171 517
Message 8 of 11
966
Flag Post
HP Recommended

## HP 39gII BUG: complex numbers and powers

Hi!, Mnnn:

See this document, with version 19157, for Connectivity Kit, in HP39GII ... https://tiplanet.org/forum/viewtopic.php?t=13482&p=153154#p153154

Associate Professor
971 948 118 180
Message 9 of 11
960
Flag Post
HP Recommended

## HP 39gII BUG: complex numbers and powers

Thank you for the link, however that is the exact same version that I have and that has the bug.

@Maké wrote:

Hi!, Mnnn:

See this document, with version 19157, for Connectivity Kit, in HP39GII ... https://tiplanet.org/forum/viewtopic.php?t=13482&p=153154#p153154

-Bart
_________________________________________________________
calculator enthusiast
Teacher
127 110 14 18
Message 10 of 11
933
Flag Post
HP Recommended

## HP 39gII BUG: complex numbers and powers

For what it's worth, the Prime gives correct answers to your examples.  😕

### Note on archived topics.

This topic has been archived. Information and links in this thread may no longer be available or relevant.
If you have a question create a new topic by clicking here and select the appropriate board.
† The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation