Search code examples
maple

How to use the symbol which has been seen as constant in Maple?


For example, I would like to use symbol 'gamma', but 'gamma' is a maple constant(approximately 0.57722). If you use it persistantly, it will report an error

solve({2*gamma > 4}, {gamma});
Error, (in solve) a constant is invalid as a variable, gamma

Do I have some way to use gamma like a normal variable? Thank you in advance.


Solution

  • In older versions of Maple you can use:

    unprotect(gamma); gamma := convert(gamma, `local`);

    acer's solution is better in versions where it is supported.