Constants and symbols

(Excerpt from "The MathML Handbook" by Pavi Sandhu)

Several elements represent commonly used constants (such as π, , e, or i) and symbols (such as those used to denote the set of all integers or the set of all complex numbers). A list of all content elements of this type is given in the following table.

Table: Content elements that represent constants and symbols.

Element Default Rendering Meaning
pi π The ratio of a circle's circumference to its diameter (approx. 3.141592653)
exponentiale e The base of the natural logarithm
imaginaryi i The (imaginary) square root of -1
notanumber NaN Not a number
true true The Boolean value True
false false The Boolean value False
emptyset An empty set
eulergamma γ Euler's constant (approx. 0.5772156649)
infinity Infinity
integers Z The set of all integers
reals R The set of all real numbers
rationals Q The set of all rational numbers
naturalnumbers N The set of all natural numbers
complexes C The set of all complex numbers
primes P The set of all prime numbers

   

<< back next >>

 

 

 


 

Copyright © CHARLES RIVER MEDIA, INC., Massachusetts (USA) 2003
Printing of the online version is permitted exclusively for private use. Otherwise this chapter from the book "The MathML Handbook" is subject to the same provisions as those applicable for the hardcover edition: The work including all its components is protected by copyright. All rights reserved, including reproduction, translation, microfilming as well as storage and processing in electronic systems.


CHARLES RIVER MEDIA, INC., 20 Downer Avenue, Suite 3, Hingham, Massachusetts 02043, United States of America