The Museum of HP Calculators

HP Forum Archive 16

[ Return to Index | Top of Index ]

HP-42s question about "Invalid Data"
Message #1 Posted by Ross Raymond on 23 Oct 2006, 10:21 a.m.

I was dusting off my old HP-42s and reviewing the owners manual when I came across a Q/A section in Section A. I tried to simulate the following question:

When I calculate the cube root of -27, I get a complex number (1.5000 i2.5981). Why?

The problem is that when I try the same thing I get "INVALID DATA" for a response. Why?

      
Re: HP-42s question about "Invalid Data"
Message #2 Posted by Bill (Smithville, NJ) on 23 Oct 2006, 11:09 a.m.,
in response to message #1 by Ross Raymond

Hi Ross,

I think you may have the 42S set to calculate in REAL Mode only.

Go to MODES, then Down arrow, then see if you have CRES or RRES set. RRES gives real results only while CRES will allow for Complex Results.

Bill

            
Re: HP-42s question about "Invalid Data"
Message #3 Posted by Bill (Smithville, NJ) on 23 Oct 2006, 11:16 a.m.,
in response to message #2 by Bill (Smithville, NJ)

Ross,

You can also just clear Flag 74. Flag 74, if set, will give Real Results only. See description for Flag 74 on Page 278 of manual.

Bill

                  
Re: HP-42s question about "Invalid Data"
Message #4 Posted by Ross Raymond on 23 Oct 2006, 12:48 p.m.,
in response to message #3 by Bill (Smithville, NJ)

Thank you Bill & Jeff for your quick and accurate explaination of my problem. I have in fact changed the mode setting and that resolved my (non) problem. I had forgotten just how complex this great calculator really is.

Thanks again, Ross

            
Re: HP-42s question about "Invalid Data"
Message #5 Posted by Jeff O. on 23 Oct 2006, 12:44 p.m.,
in response to message #2 by Bill (Smithville, NJ)

Real RESults mode will allow complex results, but only from complex arguments. An operation on a real number that would require a complex answer will result in the "Invalid Data" message in Real RESults mode. If you enter the real number in complex form with zero as the imaginary component, the 42S will give a complex answer even in Real RESults mode. I think that Real RESults mode was included to provide compatibility with the 41C, which of course had no complex mode.


[ Return to Index | Top of Index ]

Go back to the main exhibit hall