Fundamental problem is: Is there any way I can use OverDot[var] as symbol in a function? I have tried to use Symbolize[OverDot[x,1]]
for example, to no avail.
If I try I get the following error:
It does of course work to make all the dotted variables into just {xdot, ydot, zdot}:
getVelocitySphericalFromCartesian[v_, vdot_] :=
Module[{x, y, z, xdot, ydot, zdot, rdot, \[Theta]dot, \[Phi]dot},
{x, y, z} = v;
{xdot, ydot, zdot} = vdot;
{x,y,z,xdot,ydot,zdot} (*Some function of these six variables here*)
]
But I'm interested in making it look better and prettier by using the dots. Is it possible?
\[FormalX]
, etc. $\endgroup$