how do i assign something like "y at x=0" to a value without making Maple think it's an argument or a command?

yes, basically i just want to call something "y at x=0", just to make the final presentation of my results better. Is there something similar to # that will stop maple getting confused by the space of the equals sign, and just ignore it as comment/description?

Eval

Eval(y,x=0);

gives

Eval(y,x=0);

(though the Maple tag seems not to display it well in the post). This is the mathematical equivalent of your statement in words.

 

acer's picture

Eval and eval

What dharr is trying to tell you, I believe, is that the inert form uppercase-e Eval() will display like a usual notation for "y evaluated at x=0". That uppercase Eval is the so-called inert form of eval. You should be able to assign calls like Eval(y,x=0) to variables, or simply use them in your Document, and so on.

On the other hand, the lowercase-e eval() can actually do the evaluation and is not inert. The two often look good in combination, on either side of an equation for example. Try executing this in Maple

y := cos(x);
Eval(y,x=0) = eval(y,x=0);

acer

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
}