Abstract
Mathematica considers expressions in a unified manner. Any expression consists of a head and its arguments. For example {a,b,c} is considered as List[a,b,c] with the function List as the head and a,b,c as its arguments. Mathematica enables us to replace the head of an expression with another expression. For example, replacing the head of {a,b,c} with Plus gives Plus[a,b,c] which is a+b+c. This simple idea provides a powerful method to approach solving problems as this chapter demonstrates.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Author information
Authors and Affiliations
Corresponding author
Rights and permissions
Copyright information
© 2010 Springer-Verlag London Limited
About this chapter
Cite this chapter
Hazrat, R. (2010). Changing heads!. In: Mathematica®: A Problem-Centered Approach. Springer Undergraduate Mathematics Series, vol 53. Springer, London. https://doi.org/10.1007/978-1-84996-251-3_4
Download citation
DOI: https://doi.org/10.1007/978-1-84996-251-3_4
Publisher Name: Springer, London
Print ISBN: 978-1-84996-250-6
Online ISBN: 978-1-84996-251-3
eBook Packages: Mathematics and StatisticsMathematics and Statistics (R0)