Unformatted text preview: g(1); h:=unapply(f,x); h(1); h(x); h(x^3); Maple makes a crucial distinction between an expression like x 2 + 3 x + 4 and the function which assigns to each value of x the value x 2 + 3 x + 4. In this example, f is an expression, g and h are functions. The same distinction exists in mathematics, but usually it is possible to ignore it, and indeed in many instances Maple will accept either a function or an expression. To employ the normal mathematical notation f (1), however, f must be a function. This example shows two ways to deﬁne a function—directly, or using an existing expression. The last two examples show that you can evaluate a function on expressions, not just numbers....
View
Full Document
 Spring '07
 JonathanRogawski
 Math, Sociology, Calculus, Algebra, Ontology, Expression, Substitute good

Click to edit the document details