HP Forums
HP Prime: Vector field CURL(). How-to... - 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 Prime: Vector field CURL(). How-to... (/thread-251401.html)



HP Prime: Vector field CURL(). How-to... - Chris Tvergard - 09-26-2013

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


Re: HP Prime: Vector field CURL(). How-to... - Han - 09-26-2013

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.


Re: HP Prime: Vector field CURL(). How-to... - fhub - 09-26-2013

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


Re: HP Prime: Vector field CURL(). How-to... - Chris Tvergard - 09-26-2013

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


Re: HP Prime: Vector field CURL(). How-to... - Chris Tvergard - 09-26-2013

Han,

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

Chris