| % | Previous result |
| True, False | Boolean constants |
| EndOfFile | End-of-file marker |
| Infinity | Constant representing mathematical infinity |
| Pi | Mathematical constant, 3.14159... |
| Undefined | Constant signifying an undefined result |
Typical examples are Simplify(%) and PrettyForm(%)to simplify and show the result in a nice form respectively.
In> Taylor(x,0,5)Sin(x)
Out> x-x^3/6+x^5/120;
In> PrettyForm(%)
3 5
x x
x - -- + ---
6 120
|
Note that for most analytic functions Yacas understands Infinity. Thus Infinity*2 will return Infinity, and a < Infinity will evaluate to True.
In> 2*Infinity Out> Infinity; In> 2 |
In> Sin(3*Pi/2) Out> -1; In> Pi Out> Pi; In> N(Pi) Out> 3.1415926535; |
In> 2*Infinity Out> Infinity; In> 0*Infinity Out> Undefined; |