Advice: Pi is not pi
, for the constant 3.14159....
is just an unassigned name that can be used for a variable.
Unfortunately, Pi and pi both look like in typeset output. You can lprint an expression to tell them apart, or use has .
If you prefer to type pi rather than Pi , you can assign pi the value Pi :
> pi:= Pi;
But it's better to get used to using Pi so as to be compatible with other people's work.
> a:= pi*r^2 <> Pi*r^2;
pi*r^2 <> Pi*r^2
See also: Pi , lprint , has
Maple Advisor Database R. Israel, 1997