Consider the list
P : [r * sin(%phi) * sin(%gamma), r * cos(%phi), r * sin(%phi) * cos(%gamma)];
when using the diff()
function:
diff(P, %phi, 1);
and I get the error:
diff: second argument must be a variable; found
-- an error. To debug this try: debugmode(true);
Now if I remove the %
percent sign before the Greek letters
P : [r * sin(phi) * sin(gamma), r * cos(phi), r * sin(phi) * cos(gamma)];
it works but it shows some Greek symbols as their capital:
I would appreciate if you could help me know what is the problem and how I can solve it. Thanks for your support in advance.