HP Forums
HP-42s question about "Invalid Data" - Printable Version

+- HP Forums (https://archived.hpcalc.org/museumforum)
+-- Forum: HP Museum Forums (https://archived.hpcalc.org/museumforum/forum-1.html)
+--- Forum: Old HP Forum Archives (https://archived.hpcalc.org/museumforum/forum-2.html)
+--- Thread: HP-42s question about "Invalid Data" (/thread-101426.html)



HP-42s question about "Invalid Data" - Ross Raymond - 10-23-2006

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" - Bill (Smithville, NJ) - 10-23-2006

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" - Bill (Smithville, NJ) - 10-23-2006

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" - Jeff O. - 10-23-2006

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.


Re: HP-42s question about "Invalid Data" - Ross Raymond - 10-23-2006

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