cancel
Showing results for 
Search instead for 
Did you mean: 

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.
lenborje
Level 1
5 3 0 6
Message 1 of 3
1,042
Flag Post
HP Recommended

HP Prime: Advanced Graphing with complex equations doesn't work?

I have been experimenting with the Advance Graphing app, using equations involving complex numbers, but I can't get them to work.

 

E.g. Start the Advanced Graphing app, enter the single equation  '|(X,Y)|<2', and set the X and Y range to something which makes sense, e.g. X from -4 to 4 and Y from -3 to 3.

 

My Prime shows the equation as '|X+Y*i|<2'.

 

The Num: table shows appropriate true och false values in the V1 column, but the Plot: just shows "Error: Invalid object".

 

Further experimentation seems to indicate I get this error just because "i" is used. Replacing "i" with the sqrt(-1) produces no errors but no plot either.

 

Changing the equation to the equivalent 'sqrt(X^2+Y^2)<2' produces the plot I expect, a solid circle with radius 2.

 

I this a bug or a setting I must enable somewhere? As it is now, I'm apparently unable to use any complex arthmetic inside a plot equation.

 

My Prime software version is "2014 3 31 (6030)" 

2 REPLIES 2
danielmewes
Level 1
7 6 0 1
Message 2 of 3
960
Flag Post
HP Recommended

HP Prime: Advanced Graphing with complex equations doesn't work?

I'm having the same problem. I wanted to look at roots of unity, e.g. '(X+Y*i)^3=1'
I also tried putting an RE around the left side of the equation, but it didn't change anything. As soon as i appears in the equation, trying to plot it gives the "Error: Invalid object" message.

Edit: Same firmware version, 6013
0 Kudos
lenborje
Level 1
5 3 0 6
Message 3 of 3
956
Flag Post
HP Recommended

HP Prime: Advanced Graphing with complex equations doesn't work?

I've found an explanation: http://www.hpmuseum.org/forum/thread-176.html

 

To summarize: The Advanced Graphing plot does not simply evaluate the given equation at discrete points. Instead, it relies on "interval arithmetic" to deduce where the plot will change from true to false (or vice versa). This is the reason why the Advanced Graphing executes so quickly.

 

The truth table does evaluate at discrete points. However, there doesn't seem to be any way of producing a plot from the table.

 

 

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