No, there isn't supposed to be a trick to using the function jacobian. The
function
jacobian is in the package linearalgebra and this package autoloads. Maybe
your Maxima is too old (not sure when jacobian was added and when it was
made to
autoload); try
(%i1) trace(load);
(%o1) [load]
(%i2) jacobian ([sin (u - v), sin (u * v)], [u, v]);
1 Enter load[#plinearalgebra]
.2 Enter load[load-linearalgebra-lisp-files]
Also us the output of buildinfo()
(%i3) build_info();
Maxima version: 5.19.1
Maxima build date: 11:22 8/17/2009
host type: i686-pc-mingw32
lisp-implementation-type: GNU Common Lisp (GCL)
lisp-implementation-version: GCL 2.6.8
Barton
maxima-bounces at math.utexas.edu wrote on 11/20/2009 01:12:23 PM:
> [image removed]
>
> [Maxima] Question Regarding Jacobian
>
> Julie Sandberg
>
> to:
>
> maxima
>
> 11/20/2009 01:16 PM
>
> Sent by:
>
> maxima-bounces at math.utexas.edu
>
> Hello,
>
> I am having trouble calculating a Jacobian. Even when I try the code
> that is in the user's manual,
>
> jacobian ([sin (u - v), sin (u * v)], [u, v]);
> (pg 796 manual)
>
> it returns
> jacobian([-sin(v-u),sin(u*v)],[u,v])
>
> Is there a trick to defining the vectors for this function? The
> jacobian I am trying to compute is
>
> R:[x,y,z];
> integ:(R.R)*ident(3)-transpose(R).R;
> Cvar:[u*rp*cos(theta),L,u*rp*sin(theta)];
> jac:jacobian(cvar,[U,L,theta]);
>
>
> Thank you for your time.
>
>
> --
> Julie Sandberg
> M.S. Aerospace Engineering
> Dynamics and Control
> Texas A&M University
> _______________________________________________
> Maxima mailing list
> Maxima at math.utexas.edu
> http://www.math.utexas.edu/mailman/listinfo/maxima