i^2 = invalid data in one case Message #16 Posted by DavidB on 11 Oct 2007, 1:10 a.m., in response to message #1 by deleted
In mathematics, the square of imaginary unit i is 1. If I enter the imaginary number 0i1 and then take the square of it (x^2), the HP 35s displays "INVALID DATA." The same happens when I enter any complex number and take the square of it using the x^2 key on the calculator.
If I enter the following, as shown in manual, p. 95:
1i1
ENTER
2 (positive 2 here)
y^x
The result is 0i2, since (1 + i)^2 = 1^2 + i + i + i^2 = 1 + 2i 1 = 0 + 2i
So, in one way, the 35s does compute i^2. But just using x^2 will not work. If I enter:
i
1
ENTER
2
y^x
I get the result as 1i0 (or 1 + 0i). I originally thought the 35s did not compute i^2 at all, but it does. As noted in the manual, you can y^x to compute powers of a complex number.
Cheers!
David Bailey
Edited: 11 Oct 2007, 1:51 a.m.
