HP Forums

Full Version: HP Prime: Vector field CURL(). How-to...
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

In the manual p. 327 is an example of the CURL function in CAS mode.

This is the error I get when I try to reproduce:

"curl([[2*x*y,x*z,y*z],[x,y,z]])

Error:"curl([[2*x*y,x*z,y*z],[x,y,z]])

Error: Bad Argument Type" Bad Argument Type"

What am I doing wrong?

Thanks in advance,

Chris

Is that a typo w/ respect to the open double quote without a corresponding ending one?

1. curl is presumably a symbolic calculation, so you should be in CAS mode

2. If you are using RPN mode, that would also affect the behavior.

Quote:
This is the error I get when I try to reproduce:

"curl([[2*x*y,x*z,y*z],[x,y,z]])


One pair of brackets too much, it should be:

curl([2*x*y,x*z,y*z],[x,y,z])

And it only works in CAS mode.

Franz

Franz,

You were right with the double parentheses. That solved it.

I entered the function as curl([],[]) first and then filled out the two single line matrices individually.

Thanks for your help. I can now move on to the Laplace transform after half a day lost.

Chris

Han,

Thanks for your response. I finally figured it out. (See below.)

Chris