% , True , False , EndOfFile , Infinity , Pi , Constants

Constants


%

Internal function
Calling Sequence:
%
Parameters:
Description:
% evaluates to the previous result on the command line. % is a global variable that is bound to the previous result from the command line. Using % will evaluate the previous result (This uses the functionality offered by the LazyGlobal command).

Typical examples are Simplify(%) and PrettyForm(%)to simplify and show the result in a nice form respectively.
Examples:
In> Taylor(x,0,5)Sin(x)
Out> x-x^3/6+x^5/120;
In> PrettyForm(%)

     3    5 
    x    x  
x - -- + ---
    6    120


See Also:
LazyGlobal ,


True and False

True and False are typically the result of boolean expressions like 2 < 3 and True And False.


EndOfFile

EndOfFile : End of file marker when reading from file. If a file contains the expression EndOfFile; the operation will stop reading the file at that point.


Infinity

Infinity represents infinity. It can be the result of certain calculations.

Note that for most analytic functions Yacas understands Infinity. Thus Infinity*2 will return Infinity, and a < Infinity will evaluate to True.


Pi

Pi represents the value of pi. When the N(..) function is used, Pi is set to the correct value. It is probably better to use Pi than Pi(), for simplification purposes.