Download Maple Programming Guide - Numerical Relativity Group at UBC

Transcript
3.3 Names • 51
> plot( 1, 0..2*Pi, coords=polar );
Warning, unable to evaluate the function to numeric values in the region; see the plotting command's help page to ensure the calling sequence is correct
To check whether a name is protected, use the type command.
> type(sin, protected);
(3.20)
> type(sine, protected);
(3.21)
To prevent values from being assigned to a name, use the protect command.
> mysqr := x -> x^2;
(3.22)
> type(mysqr, protected);
(3.23)