Variable name and dependent variable

251 views Asked by At

I'm trying to define dependent variables in maxima as follows:

depends(V[r],[r,\theta,z]);depends(v[%theta],[r,\theta,z]);depends(v[z],[r,\theta,z]);

And it throws me this error

depends: argument must be a symbol; found: Vr

I know that this means that I should not use variable name as dependent variable. But that is what exactly I need(to use variable name as dependent variable as well, as this will make it easy for me to Latex the equations).

Also, I have used vectors(V) indexed at p, theta, zero to denote a variable with subscript. This is a work around.

Is there any way around this?

0

There are 0 answers