HP Prime: Vector field CURL(). How-to...



#6

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


#7

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.


#8

Han,

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

Chris

#9

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


#10

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


Possibly Related Threads...
Thread Author Replies Views Last Post
  HP Prime: adding an entry to a vector Alberto Candel 12 2,218 12-02-2013, 01:18 PM
Last Post: Alberto Candel
  HP Prime - vector question bluesun08 3 972 11-18-2013, 07:26 PM
Last Post: Han
  [HP-Prime CAS] Vector Calculus Library CompSystems 7 1,587 10-31-2013, 12:48 PM
Last Post: Han
  HP-Prime/Xcas: vector/list indexing fhub 6 1,489 10-27-2013, 04:52 PM
Last Post: fhub
  WP-34S: Program for vector (3D) manipulation Marcel Samek 4 1,061 09-05-2013, 05:29 AM
Last Post: Marcus von Cube, Germany
  [HP-Prime CAS] list[x,y,z], vector[x, y, z ] ... data type operation? CompSystems 1 710 08-22-2013, 03:30 PM
Last Post: Joe Horn
  [HP -Prime CAS] List, Matrix, Vector as one Array? CompSystems 0 549 07-26-2013, 05:22 PM
Last Post: CompSystems
  HP-35 Field Case? Michael Gasperi 1 634 02-25-2012, 02:57 PM
Last Post: aj04062
  41-MCODE Vector Calculator (3D) Ángel Martin 0 434 11-16-2011, 08:15 AM
Last Post: Ángel Martin
  WP 34S: missing vector cross product fhub 15 2,245 07-24-2011, 03:54 PM
Last Post: fhub

Forum Jump: